Sending data from linux to linux via rsync

23.11.2021 | 572 | SQL

Examples of transferring data between two servers on linux using the rsync program

Sending a single file:
rsync -e ssh --progress -lzuogthvr --compress-level=9 /home/file.tgz
Sending a folder with an exception by mask:
rsync -e ssh --progress -lzuogthvr --compress-level=9
/home/test --exclude '/home/test/exclude-folder-name'
Sending a file using scp, via sFTP protocol:
scp /path_to_local_file

← Back

Comments (0)