Rom folder vanished after renaming with "." at beginning ... can't locate, rename, or delete.
-
So I decided to rename a folder within my SNES directory with some roms I wanted to segregate. I thought by renaming with a "." (note just the . not with quotes) it would be an easy way to keep the name visible but not disrupt my alpha sorting of the roms in the root SNES folder. Well the folder just vanished ... or isn't visable in WinSCP or the explorer windows. I can search for a rom and bring up the folder contents with WinSCP but I dont' know how to correct this. I've tried to rename with with mv, and rename but without luck. (syntax error at (user-supplied code) near ".".) Tried with quotes too. Full WinSCP screen after execute (within snes rom folder) is:
/home/pi/RetroPie/roms/snes$ rename ".Super Nintendo Entertainment System" "SNES"
syntax error at (user-supplied code), near "."Tried to just delete as well with command line without sucess. Is there an easy way to see the folder again as .foldername so I can just rename it?
Rehash: Have a folder that I renamed with a "." at the beginning to .newnamedfolder that I want to just change back to newnamedfolder so I can see and transfer easily as before.
-
@moltke44 the . Makes it a hidden folder. If you use a program like winscp you can make the program show hidden files and folders. Then you can rename it
-
@moltke44 said in Rom folder vanished after renaming with "." at beginning ... can't locate, rename, or delete.:
/home/pi/RetroPie/roms/snes$ rename ".Super Nintendo Entertainment System" "SNES"
syntax error at (user-supplied code), near "."You said mv also didn't work. Which syntax did you use? I'm on my Kubuntu Linux at the moment. There, this works:
mv ".Super Nintendo Entertainment System" "SNES"
By the way, please mark commands and their output with a codeblock (three backticks before and after the text).
Contributions to the project are always appreciated, so if you would like to support us with a donation you can do so here.
Hosting provided by Mythic-Beasts. See the Hosting Information page for more information.