Scraper neogeo and batch rename images.
-
Sometimes I can punch my self in the face, I had a perfect retropie up and running and just wanted to change something s now I need to start all over again.
So I am sorry for asking these questions.
I can't seem to scrape my neogeo Roms and fba Roms. I have a work around, place it in a empty mame folder and copy everything.. I am probably doing something wrong. I use the scraper outside es of course.
Second thing, the images aren't that nice from the scraper sometimes. I have flyers from mame games that I want to use. Now I need to rename every file -image. Does someone have a batch rename file?
It would be so perfect if I can get my pi back to it old self again.
-
@trekdrop what kind of renaming do you need?
There are actually tons of renaming softwares out there. -
I need to add -image behind every JPEG picture so it will show up in es.
-
@trekdrop you can use bulk file renamer or there are plenty of Linux examples of doing it through the terminal eg
http://stackoverflow.com/questions/25122884/appending-a-string-before-file-extension-in-bash-script
-
An easy way to rename is the rename command
rename -n 's/\.jpg$/-image.jpg/' *.jpg
Remove the -n when the dry run output looks correct. The command just finds .jpg at the end of the file name and replaces it with -image.jpg. -
Nice. This batch file will add -image to every file in the folder.
Like:
Batman.jpg
To:
Batman-image.jpg
-
@trekdrop Yep
cd to the image folder then run that command. It will print what it wants to do. If that look right, remove the
-n
and it will actually do it. -
Hmm.. cant seem to figure out how it works. use lay i use a batch file (that one i cant find).
-
@trekdrop not a batch file. Would be shell script meant to run on Linux. Or just a command in the Linux terminal.
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.