Help using multiple masks in my script

Advertisement

xmrkite
Joined:
Posts:
5

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
exit


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

Reply with quote

Advertisement

xmrkite
Joined:
Posts:
5

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.

-Thanks

Reply with quote

Advertisement

You can post new topics in this forum