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

    Renaming Jpg or Rom files, etc. Help. How?

    Scheduled Pinned Locked Moved Help and Support
    rename filerenamerename command
    11 Posts 4 Posters 903 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.
    • duglorD
      duglor
      last edited by

      How do you simply rename a file in either the file manager of after hitting f4 and doing all that funky sudo linux commands :) I can move and delete files well, but cant' rename them unless i do it from the pc desktop and ftp into my pie.

      kiroK 1 Reply Last reply Reply Quote 0
      • kiroK
        kiro @duglor
        last edited by

        @duglor not sure what you mean exactly, if you need to rename from within the retropie command line, in Linux you do as if you where moving the file:

        mv oldname.txt newname.txt
        
        duglorD 2 Replies Last reply Reply Quote 0
        • duglorD
          duglor @kiro
          last edited by

          @kiro and if the old name was John Smith.jpg and or the new name also has a space in it, I have to put "John Smith.jpg" -quotes around the file names?

          kiroK 1 Reply Last reply Reply Quote 0
          • duglorD
            duglor @kiro
            last edited by

            @kiro Yes Linux or file manager. Thanks for the Linux!

            1 Reply Last reply Reply Quote 0
            • kiroK
              kiro @duglor
              last edited by

              @duglor yes quotes around the names

              mv 'john smith.ext' 'john ex-smith.ext'
              
              duglorD 1 Reply Last reply Reply Quote 0
              • duglorD
                duglor @kiro
                last edited by

                @kiro " quotes " right? not ' these ' ? :D

                kiroK 1 Reply Last reply Reply Quote 0
                • kiroK
                  kiro @duglor
                  last edited by

                  @duglor both options are ok, just a matter of taste 🙂

                  duglorD 1 Reply Last reply Reply Quote 0
                  • duglorD
                    duglor @kiro
                    last edited by duglor

                    @kiro lol. ok. thanks much. Anyone know about renaming something if I use FILE MANAGER?

                    AshpoolA kiroK 2 Replies Last reply Reply Quote 0
                    • AshpoolA
                      Ashpool @duglor
                      last edited by Ashpool

                      @duglor And just for completeness, if it is just one or a few spaces, you can also enter (each of) those with a leading backslash ;)

                      mv john\ smith.ext john\ ex-smith.ext
                      
                      1 Reply Last reply Reply Quote 0
                      • kiroK
                        kiro @duglor
                        last edited by

                        @duglor what do you mean exactly by file manager? (Sorry for question)

                        sirhenrythe5thS 1 Reply Last reply Reply Quote 0
                        • sirhenrythe5thS
                          sirhenrythe5th @kiro
                          last edited by

                          @kiro i guess he is talking about the "midnight commander", which is included in the retropie-image.

                          You can rename files there by marking a file and hitting "F6" for "move file / rename file".
                          If you want to rename the file you have to enter the whole path+new filename (which doesnt speed up the renaming very well ;) )

                          -- Retro-Achievements Username: SirALX --
                          RetroRatio: 1.88
                          Started Games beaten: 2,47%
                          Site Rank: 4382/93743 ranked users (TOP 4.76%)
                          Last seen in [The Legend of Zelda: Lost in Time (HACK) [N64], exploring Hyrule at Night]

                          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.