Topic "Synchronising folders but avoiding particular folders..."

Author Message
[View user's profile]

Joined: 2009-06-04
Posts: 7
Location: new zealand
Hi there. I'm trying to synchronise folders but avoiding particular folders...

"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.

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

How do I do this please?
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
Use option exclude.
Martin Prikryl

You can post new topics in this forum


What is WinSCP?

It is award-winning SFTP client, SCP client, FTPS client and FTP client integrated into one software program for file transfer to FTP server or secure SFTP server. [More]

And it's free!


About donations

$9   $19   $49   $99

About donations


WinSCP Privacy Policy

WinSCP License