Skip to content

Instantly share code, notes, and snippets.

@stemwinder
Created January 26, 2015 20:33
Show Gist options
  • Save stemwinder/67639d59ca56a32c7c79 to your computer and use it in GitHub Desktop.
Save stemwinder/67639d59ca56a32c7c79 to your computer and use it in GitHub Desktop.
Segmented file transfer over SSH/sFTP
# Source: http://sysadmin.compxtreme.ro/segmented-file-transfer-over-ssh/
lftp sftp://user[:password]@host.ro[:port] -e "mirror -c --parallel=5 --use-pget-n=5 \"/path/to/folder/\""
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment