Text 25 Feb 22 notes How to use rsync to upload big files to HostGator boxes

tossing a few large .zips up on my HostGator account, and Fetch just isn’t cutting it, my connection drops every so often and the transfer has to start all over again. scp won’t do the trick either.

the secret sauce: rsync —partial, with —rsh=’ssh -p2222’ because HostGator uses port 2222 (rather than the standard port 22) for SSH connections. an example:

[jrheard@jrheard:~]$rsync --partial --progress --rsh='ssh -p2222' very_large_archive.zip jrheard@jrheard.com:~/www/music/

de-licious.

  1. kacey-wood reblogged this from jrheard
  2. jrheard posted this

Design crafted by Prashanth Kamalakanthan. Powered by Tumblr.