Topic "Command Line Synchrnozation"

Author Message
edernest

Guest


I am trying to setup remote directory synchronization using a command line script and Windows Scheduled Tasks. It seems to work as I have it setup, but I'm not sure how to get the remote directory to delete files that have been deleted on the local machine. In the GUI, I see that option is a checkbox that is checked by default. In the help for the "synchronize" command I see:

efffective options:
transfer, synchdelete

but, I do not see how to use them or a description of what those options do. I think synchdelete is what I am looking for. Any ideas on how to use those options?
martin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 24995
Location: Prague, Czechia
edernest wrote:
In the help for the "synchronize" command I see:

efffective options:
transfer, synchdelete

but, I do not see how to use them or a description of what those options do. I think synchdelete is what I am looking for. Any ideas on how to use those options?

Use command "option synchdelete on", see "help option" for details.
_________________
Martin Prikryl
Guest




prikryl wrote:
Use command "option synchdelete on", see "help option" for details.


Thanks, just what I was looking for. I see that this option gets reset to off after you terminate the app, so I've added this to my script.
Advertisements

You can post new topics in this forum






Search Site

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!

Donate

About donations

$9   $19   $49   $99

About donations

Recommend

WinSCP Privacy Policy

WinSCP License