backup.rst
changeset 2198 81ae8abd153a
parent 2181 a657e0a7446b
equal deleted inserted replaced
2184:fa9a0e9f5b7d 2198:81ae8abd153a
    39   $ rsync -n -e 'ssh -l $RUSER' -r  /archive/ $RUSER@$RHOST:/archive/
    39   $ rsync -n -e 'ssh -l $RUSER' -r  /archive/ $RUSER@$RHOST:/archive/
    40 
    40 
    41 To compare only based on file size use ``--size-only``. In that case ``-t``
    41 To compare only based on file size use ``--size-only``. In that case ``-t``
    42 option will preserve modification time.
    42 option will preserve modification time.
    43 
    43 
       
    44 To sync files only based on timestamps (if attributes have no sence, like on
       
    45 Windows OS) complete invocation cn look like (final slash in path is
       
    46 significant)::
       
    47 
       
    48   $ rsync -r -t --no-p --no-o --no-g --no-A --no-X -O -J --delete --progress -v  $FROM/ $TO/
       
    49