Monday, October 17, 2016
copy list of files to a directory
copy a list of files mentioned in a text file into a directory.
cat /tmp/test.txt | xargs -I % cp % /tmp/to_copy/
test.txt contains list of files to be copied.
/tmp/to_copy/ is the destination folder