linux

linux: rzync for large file copy

rsync -azvP FILE USER@HOST:DESTINATION

a: archive mode
z: compress file data during the transfer
v: verbose
P: keep partially transferred files

If you are using a different SSH port you can set it by using the option
-e "ssh -p PORT_NUMBER"

rsync -azvP -e "ssh -p PORT_NUMBER" FILE USER@HOST:DESTINATION

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s