Created
May 2, 2018 02:06
-
-
Save xyntrix/f213487134b238ed7b0b4200d17dac43 to your computer and use it in GitHub Desktop.
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/sh | |
SRC="${1}" | |
DST="${2}" | |
shopt -s dotglob | |
SRCFILES=$(ls -d ${SRC}/*) | |
/usr/bin/rsync -rlAgoDvxHX --progress ${SRCFILES} ${DST} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment