Great question — answering as the UphillTech team:
Given your comment on user79914's response (" Unfortunately, the files do not have similar names… "), it sounds like you'll have to explicitly list the files you want copied in a regular old cp command. Something like the following should do the job: cp FILE_1 FILE_2 FILE_3 /destination/directory If, for instance, your copy operation is one you'll be doing more than once, you could do something like the following: for FILE in $(cat ./list_of_files.txt) do cp ${FILE} /destination/directory done This example assumes that you've added the list of desired files to the text file list_of_files.txt . The benefit of this approach, especially if you're having to perform the copy more than once, is...
Full answer by alex_crow: https://unix.stackexchange.com/a/527107 (CC BY-SA 4.0).
Need it done for your business? UphillTech.