diff options
author | JJ <nicetry@noemail.com> | 2025-03-21 13:45:32 +0000 |
---|---|---|
committer | JJ <nicetry@noemail.com> | 2025-03-21 13:45:32 +0000 |
commit | b679c6c2e28621ca6810bcdd14ef7a5db0236a6b (patch) | |
tree | 8ca164f4804ee1e8fb1ea106f4c1a45e5f094d7e /content/snippets | |
parent | fa8ad82036fc8964f19dd38a9a2ef5acb1970f17 (diff) |
Diffstat (limited to 'content/snippets')
-rw-r--r-- | content/snippets/rsync.md | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/content/snippets/rsync.md b/content/snippets/rsync.md new file mode 100644 index 0000000..21e43fa --- /dev/null +++ b/content/snippets/rsync.md @@ -0,0 +1,13 @@ +--- +title: Basic rsync commands +description: Basic rsync commands +tags: ["rsync"] +--- + +I use these rscync commands regularly to sync local data and remote servers: + +```console +rsync -avz --progress /local/path /remote/path +``` + +`a` is archive mode, which keeps permissions, timestamps, symlinks etc, `v` means verbose and shows transfer progress in a human readable format, `z` compresses data during send and `---progress` shows files transer progress. |