Option Exclude command not working.

Advertisement

bderry71
Guest

Option Exclude command not working.

I have the following script:

option batch continue
option confirm off
option synchdelete on

option exclude "D:\Share\Students\*"
option exclude "G:\Business\McMahon\2009 YearTech\Digital Photos\*"
option exclude "G:\Business\McMahon\2009 YearTech\New Pictures\*"
option exclude "G:\Business\Sullivan\Yearbook2010\Pictures\*"
option exclude "G:\RECYCLER\*"
option exclude "G:\System Volume Information\*"

synchronize remote G:\ HighSchool/StudentData

exit


With this script WinSCP is transferring stuff that I have excluded. I added this line recently to filter out some pictures which are being backed up differently.

option exclude "G:\Business\Sullivan\Yearbook2010\Pictures\*"

It is ignoring this line. I removed the other synchronize statements so that I can figure out why it is transferring stuff that I don't want transferred.

Regards,
Ben

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,097
Location:
Prague, Czechia

Re: Option Exclude command not working.

Only the last exclude mask applies. You need to put multiple masks into single line, separating them by semicolon. See documentation.
_________________
Martin Prikryl

Reply with quote

Advertisement

You can post new topics in this forum