Saturday, June 4, 2016

How To Keep Two Hard Drives In Sync Using Rsync?


rsync is a protocol built for Unix-like systems that provides unbelievable versatility for backing up and synchronizing data.  It can be used locally to back up files to different directories or can be configured to sync across the Internet to other hosts.


# sync "My Passport Pro" to "Seagate Wireless 1Tb"
rsync -aP /Volumes/My\ Passport\ Pro/ /Volumes/Seagate\ Wireless\ 1Tb/

# sync only changes of "My Passport Pro" to "Seagate Wireless 1Tb"
rsync -aP --ignore-existing /Volumes/My\ Passport\ Pro/ /Volumes/Seagate\ Wireless\ 1Tb/

No comments: