The use of a renaming program severely screwed up some of my files. I'm trying to get them back in order.
I have file structure like this:
./Hello World/some-filename.ext
./Kitty Parade/another.ext
./Third Example/abc.ext
./some-filename.ext2
./another.ext2
./abc.ext2
The goal is the move the files in current folder (./) back to their original folders.
For example:
another.ext2 belongs in the ./Kitty Parade/ folder
some-filename.ext2 belongs in the ./Hello World/ folder
abc.ex2 belongs in the ./Third Example/ folder`
The rule can be described as this:
If a file exists in current folder (./), find a folder than contains a file with the same filename (but with different extension) and move it to that folder. Note: there is no reliable relation between ./myFilename and that file's ./originalFolderName.
This happened to over 4,000 files otherwise I'd do it manually. Any possible help?