Rsync
rsync
must be installed on both the local and remote machine if being used to transfer files to a server.
Install
sudo apt install rsync
Usage
Option | Description |
---|---|
-a | Archive mode, preserves symlinks, syncs directories recursively. |
-z | Compression |
-P | Progress bar |
--delete | Deletes files on the destination not found in the origin |