use rsync

main
Tran Hau 2020-02-10 18:00:17 +07:00
parent 849b789865
commit 13d810d314
1 changed files with 11 additions and 0 deletions

11
use-rsync.md Normal file
View File

@ -0,0 +1,11 @@
# Use rsync
```sh
rsync -vah src dest
```
`--delete`: Delete files exist in dest but not exist in src.
`--ignore-existing`: Ignore updating existing files in dest.
`--exclude-from=FILE`: Exclude pattern files in FILE.