Tuesday, May 28, 2013

copy the list of files to another folder

I had a list of file, to be copied to another folder location for compiling them together. This worked!
cat listFile.txt | while read line; do cp "$line" /Users/asdf/Documents/compile; done
-->