Change timestamp when syncing

Advertisement

zzgao
Guest

Change timestamp when syncing

Hi there

Is it possible to change the timestamp of files on the remote server before syncing to 'todays' date when syncing with winscp.com and scripts?

Current script is very simple:

synchronize local "C:\user\C\V P" "/"

When the files are transferred, I want them to have todays date on the local machine

Reply with quote

Advertisement

martin
Site Admin
martin avatar
Joined:
Posts:
28,507
Location:
Prague, Czechia

Re: Change timestamp when syncing

That won't be synchronization anymore.

Anyway, you can achieve this using:

get -neweronly -nopreservetime "/*" "C:\user\C\V P\"

Reply with quote

Advertisement

You can post new topics in this forum