Last active
February 14, 2018 23:48
-
-
Save checktravis/7276ca646269c91d693b3c753808aaa5 to your computer and use it in GitHub Desktop.
Simple script to copy (rsync) directories. Resumable, verbose. ex: $ ./rsyncGo.sh "/source/*" "/dest/" # contents under source/ will be copied in dest/
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#! /bin/bash | |
echo "starting syncing $1 to $2" | |
rsync -r -vh --append-verify --no-compress --info=progress2 --out-format='[%t] [%i] (Last Modified: %M) (bytes: %-10l) %-100n' $1 $2 | |
echo "completed" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment