rsync/chown
This commit is contained in:
parent
38418dff8f
commit
39d3f92d37
1 changed files with 10 additions and 8 deletions
|
@ -6,11 +6,13 @@ Simulate sync with deletion
|
|||
|
||||
.. code:: shell
|
||||
|
||||
rsync \
|
||||
--archive \
|
||||
--no-whole-file \
|
||||
--progress \
|
||||
--verbose \
|
||||
--delete --dry-run
|
||||
"/local/directory/" \
|
||||
"user@host:/remote/directory/"
|
||||
rsync \
|
||||
--archive \
|
||||
--chown user:group \
|
||||
--no-whole-file \
|
||||
--progress \
|
||||
--verbose \
|
||||
"/local/directory/" \
|
||||
"user@host:/remote/directory/" \
|
||||
--delete --delete-before --delete-after \
|
||||
--dry-run
|
||||
|
|
Loading…
Reference in a new issue