Skip to content

Instantly share code, notes, and snippets.

@fakemelvynkim
Created March 11, 2014 08:25
Show Gist options
  • Save fakemelvynkim/9481596 to your computer and use it in GitHub Desktop.
Save fakemelvynkim/9481596 to your computer and use it in GitHub Desktop.
rsync partial progress to remote server
#!/bin/sh
#
# rsync partial progress to remote server
#
# edit the following variables
REMOTE_HOST_USERNAME=""
REMOTE_HOST_SERVER_ADDRESS=""
REMOTE_HOST_FILEPATH=""
# execution script
rsync -P -u --bwlimit=3072 -r --rsh=ssh ~/Music ${REMOTE_HOST_USERNAME}@${REMOTE_HOST_SERVER_ADDRESS}:${REMOTE_HOST_FILEPATH}"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment