Skip to content

Instantly share code, notes, and snippets.

@teamgroove
Created January 23, 2015 14:04
Show Gist options
  • Save teamgroove/09496e80738d04807995 to your computer and use it in GitHub Desktop.
Save teamgroove/09496e80738d04807995 to your computer and use it in GitHub Desktop.
copy to dest path from filelist.lst
#remove the . in the filelist
#sed -i -e 's/^.//g' filelist.txt
#finally
rsync --files-from=filelist.lst . /dest
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment