rsync - date/time stamp

Hi,

We are using RSYNC for syncing remote directories and working great. Our requirement is to have the destination files with date/time stamp of when they're copied on to the destination server, NOT the date/time stamps of source files/directories.

As RSYNC, by default, preserving the same date/time stamps as of source files, how can i achieve this?

Pl advise

Thanks
Prvn

See if you have the -t or --times option set - this preserves times from the source file to the destination. Unset that option.

Thanks Jim,

I am running rsync -avuz <SRC> <DEST> (only 4 options - "-t" option not set).

I guess its default behavior of rsync. How can i force not to preserve date/time stamp?

Thanks
Prvn

If you look at what definition of the -a flag, I believe that it implicitly sets the timstamp preservation. Take the longer equivalent to -a from the man page for rsync and remove the -t from the list and use that in place of -a.

Hi Reborg,

Thank you very much. It worked great.

I replaced "-a" with "-rlpgoD" (without -t ) and found working perfect.

Thanks
Prvn