fixing user, group, and mtime with rsync?

Carlos Carvalho carlos at fisica.ufpr.br
Mon Sep 15 14:55:59 GMT 2008


Sven Hartrumpf (Sven.Hartrumpf at FernUni-Hagen.de) wrote on 15 September 2008 14:05:
 >I prepared a mirror (that is intended to be updated by rsync)
 >by doing the initial copy using cpio (for efficiency on 15 million files).
 >Unfortunately, user, group, and mtime of some directories and files
 >was copied incorrectly.
 >
 >Can I use rsync (GIT) to fix this?

 rsync --times -av from/ to/

works for me. Should work for different machines also.


More information about the rsync mailing list