When not using “/” at the end of source, rsync will copy the last folder and the content of the folder.
When using “/” at the end of destination, rsync will paste the data inside the last folder.
Synchronizing files from one server to another is quite awesome.
You can use it for backups, for keeping web servers in sync, and much more.
-v, --verbose increase verbosity -q, --quiet suppress non-error messages --no-motd suppress daemon-mode MOTD (see caveat) -c, --checksum skip based on checksum, not mod-time & size -a, --archive archive mode; equals -rlptgo D (no -H,-A,-X) --no-OPTION turn off an implied OPTION (e.g.