Renaming Jpg or Rom files, etc. Help. How?
-
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.
-
@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
-
@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?
-
@kiro Yes Linux or file manager. Thanks for the Linux!
-
@duglor yes quotes around the names
mv 'john smith.ext' 'john ex-smith.ext'
-
@kiro " quotes " right? not ' these ' ? :D
-
@duglor both options are ok, just a matter of taste 🙂
-
@kiro lol. ok. thanks much. Anyone know about renaming something if I use FILE MANAGER?
-
@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
-
@duglor what do you mean exactly by file manager? (Sorry for question)
-
@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 ;) )
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.