I have a folder containing a further 2500 folders or so. These all contain files. I want to move the files from within only a selection of around 260 of these folders into a new folder. I have a text list of the folders of interest.
So basically I want to open the folders named in my list, move only the files from these folders and consolidate together into one new folder.
I'm looking at grep etc but I don't know how to implement this on folder names within a directory. Any pointers on where I could start on this would be greatly appreciated.