Post a reply

Add an Attachment

If you do not want to add an Attachment to your Post, please leave the Fields blank.

(maximum 10 MB; please compress large files; only common media, archive, text and programming file formats are allowed)


Topic review


Re: exclude files listed in text file

So what's the problem with generating the filemask in WinSCP format from your text file with a PowerShell script?

exclude files listed in text file

I am not sure if this already exists or someone else has already suggested it, but..

Is it possible to have a list of files within a text file and have them excluded from a synchronization?

I build a list of files to be excluded dynamically using Powershell and sometimes it can get VERY large.

example from my script file:


now sometimes there can be THOUSANDS of these and I think there may be a limit to how long this can be.

Can you make it so that it reads from a text file (line after line of filenames to be excluded) ?