Welcome to Emulationworld

Forum Index | FAQ | New User | Login | Search

Make a New PostPrevious ThreadView All ThreadsNext Thread*Show in Threaded Mode


SubjectRenaming files using .sfv? new Reply to this message
Posted byZeroKnightRaiden
Posted on11/28/07 10:17 PM



Okay so I have 307 files here.

They're all named with sequential numbers.

There's an .sfv file with them. All of the CRCs match. None of the filenames do.

QuickPAR says that according to the .sfv, the files aren't present (because the names don't match). No PAR2 file, unfortunately.

Is there any tool that will let me use the .sfv file to rename the files from the stupid numbers to the nice descriptive filenames in the .sfv?

-nZero




SubjectSounds like split files new Reply to this message
Posted byn2locarz
Posted on11/28/07 10:26 PM



They may be split files. Only seen it a couple of times but it's not compression, just split into many parts. Google "split files" and there are a ton of utils for this. It's worth a try.

n2




SubjectRe: Sounds like split files Reply to this message
Posted byZeroKnightRaiden
Posted on11/28/07 11:15 PM



The files are fine, 307 FLACs. They've just all been renamed for god only knows what reason. The filenames they're supposed to have are all in the .sfv though and I was wondering if there's any way to use that to rename the files so I don't have to do it by hand. QuickPAR will do automatic renaming with .par2 files but it's retarded about .sfv, since even though all of the CRCs match it decides the files aren't there since they're named differently.

-nZero




SubjectRe: Sounds like split files new Reply to this message
Posted byMarv
Posted on11/29/07 03:38 AM



> The files are fine, 307 FLACs. They've just all been renamed for god only knows
> what reason. The filenames they're supposed to have are all in the .sfv though
> and I was wondering if there's any way to use that to rename the files so I
> don't have to do it by hand. QuickPAR will do automatic renaming with .par2
> files but it's retarded about .sfv, since even though all of the CRCs match it
> decides the files aren't there since they're named differently.
>
> -nZero

I would have thought split files too, but if not then your out of luck for fully automatic ways to fix it (at least as far as I know).

One way to go might be to
- use the command line to pipe the names of the files into a text file
dir /s /on /b *.* >filelisting.txt

- Then copy the contents of that text file and the .sfv file into 2 columns of a table in Word.
- Then make sure that the columns match up (old filename to new filename).
-Then use some nifty fine and replace to turn the table into lots of "rename" lines...

rename old-filename-with-numbers name-from-sfv-file

It's a bit tricky to get right, but I do that kind of thing often (digital pictures mainly) and it's a lot faster than renaming 300 files by hand




Previous ThreadView All ThreadsNext Thread*Show in Threaded Mode