• Recent
  • Tags
  • Popular
  • Home
  • Docs
  • Register
  • Login
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 1.7k Views 4 Watching
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.
  • D Offline
    duglor
    last edited by 12 Oct 2022, 10:26

    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.

    K 1 Reply Last reply 12 Oct 2022, 10:28 Reply Quote 0
    • K Offline
      kiro @duglor
      last edited by 12 Oct 2022, 10:28

      @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
      
      D 2 Replies Last reply 12 Oct 2022, 10:30 Reply Quote 0
      • D Offline
        duglor @kiro
        last edited by 12 Oct 2022, 10:30

        @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?

        K 1 Reply Last reply 12 Oct 2022, 10:39 Reply Quote 0
        • D Offline
          duglor @kiro
          last edited by 12 Oct 2022, 10:31

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

          1 Reply Last reply Reply Quote 0
          • K Offline
            kiro @duglor
            last edited by 12 Oct 2022, 10:39

            @duglor yes quotes around the names

            mv 'john smith.ext' 'john ex-smith.ext'
            
            D 1 Reply Last reply 12 Oct 2022, 10:46 Reply Quote 0
            • D Offline
              duglor @kiro
              last edited by 12 Oct 2022, 10:46

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

              K 1 Reply Last reply 12 Oct 2022, 10:48 Reply Quote 0
              • K Offline
                kiro @duglor
                last edited by 12 Oct 2022, 10:48

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

                D 1 Reply Last reply 12 Oct 2022, 10:49 Reply Quote 0
                • D Offline
                  duglor @kiro
                  last edited by duglor 10 Dec 2022, 11:50 12 Oct 2022, 10:49

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

                  A K 2 Replies Last reply 12 Oct 2022, 10:52 Reply Quote 0
                  • A Offline
                    Ashpool @duglor
                    last edited by Ashpool 10 Dec 2022, 11:52 12 Oct 2022, 10:52

                    @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
                    • K Offline
                      kiro @duglor
                      last edited by 12 Oct 2022, 10:53

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

                      S 1 Reply Last reply 12 Oct 2022, 13:01 Reply Quote 0
                      • S Offline
                        sirhenrythe5th @kiro
                        last edited by 12 Oct 2022, 13:01

                        @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.91
                        Started Games beaten: 2,40%
                        Site Rank: 4284/104507 ranked users (TOP 4.10%)
                        Last seen in [Crazy Taxi 2 [DC], Iceman is working in Small Apple, 4 Fares completed, $1760,60]

                        1 Reply Last reply Reply Quote 0
                        11 out of 11
                        • First post
                          11/11
                          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.

                          This community forum collects and processes your personal information.
                          consent.not_received