EMULAB Forum

Please login or register.

Login with username, password and session length
Advanced search  

News:

The new forum is online, hope you enjoy it!

Pages: [1]   Go Down

Author Topic: Rename several roms in a folder to match names on a *.dat  (Read 7599 times)

jfromeo

  • Karma: 0
  • Offline Offline
  • Posts: 17
  • Operating System:
  • Windows 7 Windows 7
  • Browser:
  • Firefox 3.6.3 Firefox 3.6.3
    • View Profile

Hello there.

I guess this operation must be easy, but I don't know how to do it properly.

I have, let's say, 3 roms in a folder compressed in zip and its correspondant dat (with Dir2Dat function), called:

a.zip
b.zip
c.zip

On the other hand, I have a dat, to which I'd like to match the roms, which says that:

a.zip should be 3.zip
b.zip should be 1.zip
c.zip should be 2.zip

I can only accomplish it using the rebuilder option, pointing to the roms folder, and using only the second dat, but that implies having to scan the roms in the zip, checking the hashes, renaming and compressing them again. I'd like to ask if there is a function to somehow "compare" the dats and creating a renaming *.bat or something similar.

In my example, there are only 3 roms, but in the reality they are +5000 (that's why the rebuilding method would last several days, I left it for 1 hour and it got rebuilt ~90 roms).

Thanks as always.
Logged


Roman

  • Global Moderator
  • Member
  • ***
  • Karma: 113
  • Offline Offline
  • Posts: 3292
  • Operating System:
  • Mac OS X Mac OS X
  • Browser:
  • Safari 4.0 Safari 4.0
    • View Profile

profiler renamewizard lets you compare two dats and tells you what was renamed to what. you can export this list or can apply the changes on a third dat.
« Last Edit: 13 May 2010, 13:22 by Roman »
Logged

jfromeo

  • Karma: 0
  • Offline Offline
  • Posts: 17
  • Operating System:
  • Windows 7 Windows 7
  • Browser:
  • Firefox 3.6.3 Firefox 3.6.3
    • View Profile

Great ;) Thanks for the support.
Logged
Pages: [1]   Go Up
 

Page created in 0.321 seconds with 19 queries.

anything