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


OK, I got it

Here is what worked (since I could not find this anywhere online)
option exclude *.bak;*.sql;test1*

This takes out all .bak and .sql files from the backup as well as the test1 folder.


Help using multiple masks in my script

Hello, I just can't get masks to work from my script.

Here is my options file below:

option batch abort
option confirm off
open test
synchronize remote -filemask="|*.bak; *.zip; */abc/" "C:\Documents and Settings\test\Desktop\test" "/" -delete

So i want to transfer everything except the .bak, .zip files and skip the abc folder.
What am I doing wrong? This won't even complete with that in there. I am using winscp 4.x