So I have one file, filters.txt
that contains names like these:
01_0012
01_12321
02_123J4
...
And then there's a directory, New/
with a lot of files named like this:
DEV_01_0012.csv
LIN_02_123J4.csv
FD_03_1234.csv
...
So I'm basically looking for a Unix way to copy all the files in New/
that contain one of the patterns in filters.txt
I could write a Python script, but I can't really think of an easy way to do this with a shell script, if someone knows of a way I'd like to see it