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: Synchronising folders but avoiding particular folders...

Use option exclude.
goompa

Synchronising folders but avoiding particular folders...

Hi there. I'm trying to synchronise folders but avoiding particular folders...

eg.
"C:\Program Files\WinSCP\winscp" /console /command "option batch on" "open t" "synchronize local" "V:\local\local /remote/remote" "exit"

t is the name of the session
V:\local\local is the path of the local folder
/remote/remote is the path of the remote folder.

my problem (for the sake of this example) is there is a sub folder called NOT_THIS in the remote folder.
eg.
/remote/remote/NOT_THIS

I wish to sync everything in /remote/remote/ except for NOT_THIS.

How do I do this please?