rsync

rsync

rsync allows file synchronization between two directories or two computers.

Synopsis:

rsync [options] source target
rsync [options] localpath user@computer:[remotepath]
rsync [options] user@computer:[remotepath] localpath

Like cp, mv, etc., the source is placed before the target.