cat fileNames.txt | xargs find . -name
I expect the above command to find the path of every
fileName in fileNames.txt, but this command produces no
output. Why?
|
feedback
|
|
A solution would be:
| |||||
feedback
|
|
Regular Note also, that you should probably add the
| |||||||
feedback
|
|
The
| |||
feedback
|
|
The answers so far have a hard time with filenames containing space, ' or ":
If the files are made by users, you will experience funny named files. If you have GNU Parallel installed you can do:
Watch the intro video to learn more about GNU Parallel: http://www.youtube.com/watch?v=OpaiGYxkSuQ GNU Parallel can be downloaded at ftp://ftp.gnu.org/gnu/parallel/ and has been reported to be working under Cygwin. | |||||
feedback
|