I have a list of say, 1000 files. 600 of those were from folders and before I put them into a single folder.
Now I want to undo that flattening.
All of the files I want to put back are in the structure [original file name] - Relating ... [top folder] - Bla bla [subfolder 1] - blablabla [subfolder 2]
So I want to cut on the " - ", and for the first one I need to check it's "- Relating" and not just a random - in the file name, which I think is unlikely but I didn't check every file
https://i.imgur.com/CuipKFv.png
Is there a utility that could do this?