Homepage › Forums › RetroPie Project › Everything else related to the RetroPie Project › Retropie – Delete ROM files from terminal?
- This topic has 10 replies, 7 voices, and was last updated 10 years, 7 months ago by
herbfargus.
-
AuthorPosts
-
01/04/2015 at 09:39 #84528
kraken0667
ParticipantHi guys
Im curious, using Retropie(emulationstation), can you delete ROM files from the terminal somehow. I’ve got a lot of non working ROMs in my setup, and would like to remove them. I have no access to ethernet or wifi on my PI. Can you access the ROM folders somehow?
Thanks
//Kraken01/04/2015 at 14:44 #84579Floob
MemberYes, navigate to
/home/pi/RetroPie/roms/{Systemname}/Then “rm filename”
01/04/2015 at 23:43 #84611kraken0667
ParticipantThanks a bunch!
01/13/2015 at 17:26 #85097kraken0667
ParticipantHi again.
Sorry, Im a bit of a n00b. How do I navigate to /home/pi/RetroPie/roms/{Systemname}/?
I tried
sudo nano /home/pi/RetroPie/roms/mame/
for instanceShould I insert something there, or what do I do with “rm filename”?
01/13/2015 at 18:38 #85101urky
Participant“cd <foldername>” puts you into a folder
like this your example : cd /home/pi/RetroPie/roms/mame/
then when in the desired folder :
rm <filename> means remove that file, as floob says(“cd ..” brings you one step out of folder “cd /” brings you to root)
01/14/2015 at 16:38 #85147kraken0667
ParticipantThat did the trick, thank you for your informative answer.
One last question:
Often, especially in MAME, the original game ROM file name differ from the corresponding game name displayed in the interface/game list.
Therefore it can be tricky to delete some games, not knowing the actual file names that is. Is there away to get the real file names, maybe to see the actual files in the folder?
If not, is there a command for deleting ALL the ROM files in a specific folder?
01/14/2015 at 16:52 #85148Anonymous
Inactiveuse..
“ls -a”I think that is the command to see what is in the directory you are in.
04/02/2015 at 01:21 #93434postman87
ParticipantIs there a way to remove everything in a single folder?
Let’s say in the /psx/ folder I got 2 roms with very long names. Would be easier to delete them in one go instead of typing out both names.04/02/2015 at 02:46 #93442herbfargus
MemberQuick tip- you can type a few letters and then press tab and it will auto complete the filename for you
Also if you want to know the filename of a certain game from emulation station instead of selecting a game press select and choose modify the metadata then you can see the filename of the game.
You can also see the list of most mame ROMs and their file names here:
04/04/2015 at 03:53 #93702memps001
ParticipantFollow-up question: What happens to scrubbed metadata when I delete Roms? Is it cluttering up my storage space? How can I wipe unused images and info?
04/04/2015 at 06:02 #93708herbfargus
MemberIf you want to clean up the metadata for each game you can delete the files under each respective console here:
/home/pi/.emulationstation/gamelists -
AuthorPosts
- The forum ‘Everything else related to the RetroPie Project’ is closed to new topics and replies.