Searching for filetypes in command line
-
I'm trying to locate all my save files so I can delete them and start fresh, but I'm not sure what the syntax is to do so and haven't had any luck searching for it. For example, when searching for .srm files so far I have:
find ./RetroPie/roms/snes -name .srm
How far off am I? Also once I locate them how would I delete them?
Edit:
find . -type f -name "*.srm"
I tried using rm "file" to remove but I'm getting a bash syntax error, so I'm just going to FTP in and delete it in the GUI. I'll leave this here in case anyone's searching for the same thing.
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.