rtfd/in/rsync/snippets.rst

18 lines
252 B
ReStructuredText
Raw Normal View History

2017-12-02 22:02:37 +00:00
********
Snippets
********
Simulate sync with deletion
===========================
.. code:: bash
rsync \
--archive \
--no-whole-file \
--progress \
--verbose \
--delete --dry-run
"/local/directory/" \
"user@host:/remote/directory/"