rtfd/in/public/storage/rsync/snippets.rst
2019-07-30 19:48:02 +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