I'm trying to revert a change I made via rename
.
I was renaming files in a subfolder, then without thinking, tried to clear the ..
from names using:
rename "s/.././" *
Now I have a folder of 600 files with the 2 first letters of each filename changed to .zzyGir*
Is there any way to change the "." back to the first letters of each filename without losing the whole file?
I've tried different things with no luck, such as:
rename "s/./Di/; *
I'm open to one-file-at-a-time solutions, too, I'm primarily trying to avoid losing the files.