Topic "simplest way to overwrite only newer file"

Author Message
[View user's profile]

Joined: 2013-08-12
Posts: 1

I try to find simplest way to put (and overwrite) only newer files. Only one file at time.

* is not an option, because synchronize automatically create all subdirectories.
* "option confirm off" results unconditional overwriting
* I am very lazy to read output of remote "stat" to compare with local times.

Any ideas?

Thanks all in advance,
Sincerely, Stas Fomin
[View user's profile]
Site Admin
Joined: 2002-12-10
Posts: 26890
Location: Prague, Czechia
You can make synchronize non-recursive by using -filemask=|*/.
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