rtfd/in/public/rsync/snippets.rst
2019-08-25 10:44:25 +02:00

18 lines
294 B
ReStructuredText

Snippets
========
Simulate sync with deletion
---------------------------
.. code:: shell
rsync \
--archive \
--chown user:group \
--no-whole-file \
--progress \
--verbose \
"/local/directory/" \
"user@host:/remote/directory/" \
--delete --delete-before --delete-after \
--dry-run