I have a directory (directory A) with 10,000 files in it. I want to move some of them to directory B and the others to directory C. I made a text file that contains the names o
BASH FAQ entry #1: "How can I read a file (data stream, variable) line-by-line (and/or field-by-field)?"
If the filename will remain the same then the second argument to mv can be just the directory.
mv