RetroPie forum home
    • Recent
    • Tags
    • Popular
    • Home
    • Docs
    • Register
    • Login
    Please do not post a support request without first reading and following the advice in https://retropie.org.uk/forum/topic/3/read-this-first

    Rom folder vanished after renaming with "." at beginning ... can't locate, rename, or delete.

    Scheduled Pinned Locked Moved Help and Support
    foldernamedwithdirectorynamesfoldervanishedromdirectory
    3 Posts 3 Posters 707 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • moltke44M
      moltke44
      last edited by moltke44

      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.
      
      edmaul69E ClydeC 2 Replies Last reply Reply Quote 0
      • edmaul69E
        edmaul69 @moltke44
        last edited by

        @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

        1 Reply Last reply Reply Quote 0
        • ClydeC
          Clyde @moltke44
          last edited by

          @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).

          1 Reply Last reply Reply Quote 0
          • First post
            Last post

          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.