Prefer -u not to change newer files.

Donald Axel donax at
Sun Jan 27 01:22:40 GMT 2008

    Hi List,

    Quoting man page:

              In  the  currently implementation, a difference of file format is
              always considered to be important enough for an update, no matter
              what date is on the objects.  In other words, if the source has a
              directory or a symlink where the  destination  has  a  file,  the
              transfer  would  occur  regardless of the timestamps.  This might
              change in the future (feel free to comment on this on the mailing
              list if you have an opinion).

   Comment: -u should preferably mean "update" only if target is older.

   Actually I found out by experimenting that rsync may overwrite
anything different at the target. 

   Using the -u option as "only if newer" would be analogous with zip,
unzip and cp and probably many other program.

   Thanks for an awe-inspiring utility!!!

-- -- Donald Axel, IT-Consultant -- donax at

More information about the rsync mailing list