Main Restorations Software Audio/Jukebox/MP3 Everything Else Buy/Sell/Trade
Project Announcements Monitor/Video GroovyMAME Merit/JVL Touchscreen Meet Up Retail Vendors
Driving & Racing Woodworking Software Support Forums Consoles Project Arcade Reviews
Automated Projects Artwork Frontend Support Forums Pinball Forum Discussion Old Boards
Raspberry Pi & Dev Board controls.dat Linux Miscellaneous Arcade Wiki Discussion Old Archives
Lightguns Arcade1Up Try the site in https mode Site News

Unread posts | New Replies | Recent posts | Rules | Chatroom | Wiki | File Repository | RSS | Submit news

  

Author Topic: Looking for a file sorter (snapshots)  (Read 1435 times)

0 Members and 1 Guest are viewing this topic.

neliö

  • Trade Count: (0)
  • Newbie
  • *
  • Offline Offline
  • Posts: 1
  • Last login:February 26, 2009, 02:11:34 pm
Looking for a file sorter (snapshots)
« on: September 25, 2008, 01:00:32 pm »
I recently downloaded a zip file containing a lot of mame snaps. Now I need a program to sort out the extra snaps I won't be needing. Leaving all of them in the folder slows Gamelauncher too much.

Any suggestions for a program that checks 2 folders (roms&snap) and deletes those that do not have a match?

NOP

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 916
  • Last login:September 19, 2017, 08:22:27 pm
  • I stole my avatar.
    • winterMAME
Re: Looking for a file sorter (snapshots)
« Reply #1 on: September 25, 2008, 03:06:32 pm »
fuzzyrename would do it:

http://www.waste.org/~winkles/fuzzyRename

it'll rename the snaps that don't quite match the rom names too.
The snaps just get copied to another folder, so it doesn't wreck anything if it goes wrong.

edit:
otherwise, richiethebritt was building an application specificaly for this task.  called like rombuddy or something...  search in this forum for it.
« Last Edit: September 25, 2008, 03:10:07 pm by NOP »

NOP

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 916
  • Last login:September 19, 2017, 08:22:27 pm
  • I stole my avatar.
    • winterMAME
Re: Looking for a file sorter (snapshots)
« Reply #2 on: September 26, 2008, 10:08:21 am »
Here's another way, if you're ok with poking around in DOS mode.

0) download this program, unzip it somewhere in your path
http://www.waste.org/~winkles/fuzzyRename/insert.zip

1) in a DOS shell in your ROMs folder, type this:

"dir /b > moveme.bat"

2) edit moveme.bat, do a search/replace of ".zip" with ".png c:\mame\snap", save and quit.  [you may have to edit that path of where you really want your snaps to end up]

3) now type:
insert

at the prompts, type in "moveme.bat" for the filename
for the col#, put in 0
for the text string put in: "move "  [note the space at the end!]

insert.exe will then jam some text into the front of each line of your batch file, so the end result should look like this:

move 005.png c:\mame\snap
move eggor.png c:\mame\snap
etc
etc
etc
etc

4) run that batch file in the folder you've got your full collection of snaps in, and it'll move 'em all.

hurray for DOS!

Martijn

  • Trade Count: (0)
  • Full Member
  • ***
  • Offline Offline
  • Posts: 822
  • Last login:January 25, 2024, 10:34:36 am
  • Akira!
    • ModMyBox
Re: Looking for a file sorter (snapshots)
« Reply #3 on: September 30, 2008, 08:13:27 am »
fuzzyrename would do it:

http://www.waste.org/~winkles/fuzzyRename

it'll rename the snaps that don't quite match the rom names too.
The snaps just get copied to another folder, so it doesn't wreck anything if it goes wrong.

edit:
otherwise, richiethebritt was building an application specificaly for this task.  called like rombuddy or something...  search in this forum for it.

Perfect! just what i needed  :notworthy: