Permalink
Find file
Fetching contributors…
Cannot retrieve contributors at this time
9 lines (6 sloc) 272 Bytes
---
rsync: |-
Synchronize directory with remote
rsync -auz -e ssh remote:/dir/ . && rsync -auz -e ssh . remote:/dir/
You can always use the --dry-run option for testing.
Check out --modify-window option when syncing with a non-POSIX file system like FAT.