delete flag
This commit is contained in:
parent
9de03fb9f6
commit
42550948e0
5
rsync.md
5
rsync.md
@ -4,6 +4,11 @@ sync everything in //mnt/backup and push to hptrow:
|
||||
rsync -azv -e ssh -r /mnt/backup/ pt@hptrow.me:/mnt/backup/hc
|
||||
```
|
||||
|
||||
use the --delete flag to force a whole copy instead of incremental backup
|
||||
```
|
||||
rsync -azv --delete -e ssh -r /mnt/backup/ pt@hptrow.me:/mnt/backup/hc
|
||||
```
|
||||
|
||||
copy remote file to local machine
|
||||
```
|
||||
rsync -azv -e ssh ptrowbridge@usmidsap01://home/ptrowbridge/debug.sql //mnt/c/Users/PTrowbridge/Downloads/debug.sql
|
||||
|
Loading…
Reference in New Issue
Block a user