9Jul/092
rsync failed to set times on [filename]
This error occurs because the version of rsync on the system cannot preserve modified times for directories.
Run rsync with the following arguments to suppress this warning:
rsync -avPO ./source/* ./destination
Explanation of switches:
1 2 3 4 | a -> Archive mode (do not preserve hard links, ACLs, or extended attributes) v -> Verbose (I like to know what is happening) P -> Equivalent to --partial --progress (for long transfers that may be interrupted) O -> Omit directories from times |
July 30th, 2009 - 10:23
Thank you for the help. You saved my week. I will add this site to my favorites.
Huseyin
April 8th, 2011 - 07:56
Thank you!
btw, if you want to compress file while the transfer.. use –z option.
rsync -avzPO source/ destination/