Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- cp `cat list.txt` new-folder/
- cpio -pvdm /destination <list.txt
- tar -cf - -F list.txt | tar -C /destination -x
- while read -r line
- do
- cp "$line" /destination
- done <"file"
- dest="<destination folder>" #keep the quotes
- for i in `cat < list.txt` #loop each line of list.txt
- do
- cp $i $dest #in each loop copy $i, e/a line of list.txt to $dest
- echo "Done."
- done
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement