UNIX/AWK Tricks: How to copy a long list of files into a directory
Make your list of files, with complete paths, call it “imgList.txt”. Put every file on a new line. Write a small awk script with the following 1 line: { printf(“cp %s images/\n”, $0);} Save the script as “copyList.awk” Do the…