# HG changeset patch # User Oleksandr Gavenko # Date 1507407393 -10800 # Node ID 81ae8abd153ac19ffaf6ce3715c56842c663cd3b # Parent fa9a0e9f5b7d7ab338e12d3ef17c15323cbd9d25 To sync files only based on timestamps. diff -r fa9a0e9f5b7d -r 81ae8abd153a backup.rst --- a/backup.rst Sat Sep 30 17:17:31 2017 +0300 +++ b/backup.rst Sat Oct 07 23:16:33 2017 +0300 @@ -41,3 +41,9 @@ To compare only based on file size use ``--size-only``. In that case ``-t`` option will preserve modification time. +To sync files only based on timestamps (if attributes have no sence, like on +Windows OS) complete invocation cn look like (final slash in path is +significant):: + + $ rsync -r -t --no-p --no-o --no-g --no-A --no-X -O -J --delete --progress -v $FROM/ $TO/ +