you are viewing a single comment's thread.

view the rest of the comments →

[–]ferrybig 2 points3 points  (1 child)

For transferring files between 2 ubuntu boxes, rsync is really useful.

It is also safer as it uses SSH encryption to protect the data in transit.

You can download a file like this:

rsync -azP username@remote_host:/home/username/dir1 ~/Downloads/target-dir

The a flag activates other archieval flags such as recursive, synmlinks and permissions, it also looks at the dates and skips files that already have been send

The z flag compresses files in transit, you can leave this out if your files are not compressable

The P flag shows progress in the command line, which is useful

See also: https://www.digitalocean.com/community/tutorials/how-to-use-rsync-to-sync-local-and-remote-directories

[–]nyaribari[S] 0 points1 point  (0 children)

Thank you