Basic rsync
Some of the options for rsync
.
Command | |
---|---|
rsync -a | Archive mode - same as -rlptgoD (no -H) |
rsync -v | Verbose |
rsync -e | Use ssh |
rsync –delete | Delete extraneous files from dest dir |
Example:
$ rsync -av /home/ /backup/
Various snippets that I have found to be helpful.
Some of the options for rsync
.
Command | |
---|---|
rsync -a | Archive mode - same as -rlptgoD (no -H) |
rsync -v | Verbose |
rsync -e | Use ssh |
rsync –delete | Delete extraneous files from dest dir |
Example:
$ rsync -av /home/ /backup/