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?
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?