From 39d3f92d37ed31842bd25182aa1302d80f943ab8 Mon Sep 17 00:00:00 2001 From: Marc Beninca Date: Tue, 30 Jul 2019 19:48:02 +0200 Subject: [PATCH] rsync/chown --- in/public/storage/rsync/snippets.rst | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/in/public/storage/rsync/snippets.rst b/in/public/storage/rsync/snippets.rst index e2458b5..1de332f 100644 --- a/in/public/storage/rsync/snippets.rst +++ b/in/public/storage/rsync/snippets.rst @@ -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