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.
cheat sheets.
$ cheat rsync