Post a reply

Options
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)

Options

Topic review

martin

Re: File and Folder Mask

WinSCP file masks do not work like that.

It should be
/home/xfer/*[0-9][0-9][0-9]/; /home/xfer/*[0-9][0-9][0-9]/*scanRecord*
lordlamberino

File and Folder Mask

Hey All,

I have searched but the solutions don't seem to be doing what I hope!

I am trying to do a straight forward sync but I only want to pick up files with scanRecord in the name and in folders that end in at least 3 numbers.

eg /home/xfer/1200/scanRecord.txt

but not
/home/xfer/.cache/scanRecord.txt
/home/xfer/123/somethingElse.txt

This is what i am currently using:

synchronize local -filemask="/home/xfer/*[0-9][0-9][0-9]/*scanRecord*" z:\dataDump\ /home/xfer/


But at the moment this is still picking up /home/xfer/.cache/scanRecord.txt

Thanks!