So I just ran the following command to add a file extension to a bunch of files. I thought I would undo them one by one, but it turns out I need to undo them all at one time, how do I reverse this?
find . -name '*.targetFileType' -type f -exec mv '{}' '{}'.not \;
- Before the file was: aFile.targetFileType
- Now it is: aFile.targetFileType.not
I need to return it to aFile.targetFileType