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:
The goal is the move the files in current folder (./) back to their original folders.
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
This happened to over 4,000 files otherwise I'd do it manually. Any possible help?