Created
September 10, 2011 20:38
-
-
Save rohannog/1208746 to your computer and use it in GitHub Desktop.
Backup list of files to a backup directory
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
for i in `cat <dir-and-file-list>`; do rsync -av $i <dest-dir>; done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment