The easiest way to restore timestamps of files?

Kevin Korb kmk at
Sun Apr 26 17:02:55 MDT 2015

Hash: SHA1

- --archive --itemize-changes --size-only --dry-run
Obviously the last one is so you can confirm what it is going to do.

On 04/26/2015 06:08 PM, Frantisek Hanzlik wrote:
> Please, is possible (with rsync) re-create files timestamps? I mean
> something like choosing a "-T" in the program mirror- from it's man
> page e.g. there: 
> "Do not do any file transfers just force the time-stamps of any
> local files to be reset to be the same as the remote files.
> Normally only used when initialising a mirror that already contains
> files retrieved another way (e.g. from CDROM)."
> This is the situation I have encountered several times - I have
> local files which was downloaded from internet archive via FTP or
> obtained somehow, these files have bad timestamp, and now I want
> use rsync for their synchronization with the remote rsync server
> and also correct their bad timestamp - of course without
> re-downloading. Is it possible?

- -- 
	Kevin Korb			Phone:    (407) 252-6853
	Systems Administrator		Internet:
	FutureQuest, Inc.		Kevin at  (work)
	Orlando, Florida		kmk at (personal)
	Web page:
	PGP public key available on web site.
Version: GnuPG v2


More information about the rsync mailing list