Remote sync, or rsync, is a way to synchronize files and directories through the command line interface on Unix-based machines. This easy-to-use utility is commonly used for backing up your data, but can synchronize files for any other purpose you choose to use it for. Remote sync can be better than other backup methods because of its speed, and because it doesn’t require any special permissions to execute an rsync command. With just a small knowledge of the command line, you can be backing up in no time with rsync.One of the simplest things you can do with rsync is to backup files and directory structure. In order to use rsync, you must use the following command format when specifying information in Terminal:
rsync –options SourceDirectory DestinationDirectory
------------------------------------------------------
website templates