I have a text file containing file names only (it does not contain their paths). I need to find these files which may lie in any of the subfolders and then copy or move them to other location. To find the files I have tried
cat 1.txt | xargs find -iname
xargs find -iname < 1.txt
xargs -a 1.txt find -iname
but they return " find: paths must precede expression: KUMARI_BRACK.jpg Usage: find [-H] [-L] [-P] [-Olevel] [-D help|tree|search|stat|rates|opt|exec] [path...] [expression] ".
Any suggestion is greatly appreciated