How can I move files with specific filenames and recreate the directory structure
I have literally thousands of files, and all of them are in multiple levels of subfolders. There’s a chunk I want to move to a different location, all of which have the same string at the end of their filename.
Although I can just search in the root folder *[string here]* then move all found files, problem is if I do it this way I will end up dumping all files in one location. I want to be able to recreate the directory structure of the files also in the new location. Is there a way to do this easily?
For example: Let’s say I have the folder C:somethingsomethingtargetfolder
And within targetfolder there are many levels of subfolders: