diff options
Diffstat (limited to 'content/snippets/rsync.md')
-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. |