simplest way to overwrite only newer file

Advertisement

belonesox
Joined:
Posts:
1

simplest way to overwrite only newer file

Hello.

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

* https://winscp.net/eng/docs/scriptcommand_synchronize 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

Reply with quote

Advertisement

You can post new topics in this forum