Update rsync.md (#718)

Clarify folder/folder-content syncing.
Add options --partial and -P, since partial helps with network errors and -P is convenient.
This commit is contained in:
Hannes Leutloff 2018-11-07 22:23:17 +01:00 committed by chad d
parent a4053b1b8e
commit 6892dc8615
1 changed files with 5 additions and 0 deletions

View File

@ -9,7 +9,10 @@ weight: -1
{: .-prime}
```bash
# syncing folder src into dest:
rsync -avz ./src /dest
# syncing the content of src into dest:
rsync -avz ./src/ /dest
```
### OSX
@ -25,6 +28,7 @@ rsync -avz ./src /dest
```bash
-z, --compress
-n, --dry-run
--partial # allows resuming of aborted syncs
```
### Display options
@ -34,6 +38,7 @@ rsync -avz ./src /dest
-v, --verbose
-h, --human-readable
--progress
-P # same as --partial --progress
```
### Skipping options