Using rsync to download from ssh

I run multiple servers i use for my various tasks. Lately i configured a raspberry  PI 2 with an attached 2TB hard drive that i use as a time machine backup for my MacBook and where i store programs and downloads, thus being able to access them from all over the world!

Thus, one of the things i need to do is download files from this server.

Sometimes you want to have the ability to resume your download, especially when the size of the download is big!

This is how you do it using rsync, through ssh:

rsync --partial --progress --rsh=ssh user@server_address:/remote/location/remote.file Local/path/local.file

You should be prompted for the password, if you configured sshd that way. Input it and your download will start or resume.

Leave a comment

Your email address will not be published. Required fields are marked *