You know, this should be simple. Nearly everybody does it, right?

;)

Yet I am having trouble with mkisofs getting it to replicate a directory
sstructure so that I can just continually go from one directory to the
other (it is an audio book set of mp3s) without having to jump all over
the resulting CD on my mp3 player trying to figure out what chapter to
play next.

The files (originally) were structured like:

disc1/ - Track01.mp3
disk1/ - Track02.mp3
 ..
disc2/ - Track01.mp3
disc2/ - Track02.mp3

and so forth; typically, 13-15 mp3s per each disc subdirectory.
Obviously, what I'd like is to just have the disc1/*, disc2/* etc, so
that each file would follow naturally in sequence. 

My first effort

$ mkisofs -J -r -v -o datacd disc*/*

failed (using the Linux cookbook example) because it saw each of those
"track" files conflicting with other file names (that is, track01 in
disc1 would conflict with track01 in disc5) -- an obvious sign that it
was just going to stuff the files in any way it could without following
any directory structure. I also went into the directories to rename the
files to more sensible names at this point (damn Windowz no shell users)
:( . 'rename' is neat btw, if you figure out how to use it. :)

After some reading (again in the Linux Cookbook) I tried using the
--graft-points option, and this is saner, but still I ended up with all
the files in the main / directory of the resulting data iso. But I did
manage to make subdirectories on the ISO. But doing so was horrendous,
as I seem to have to do:


$ mkisofs -r -J -v -V "StarWarsIIIbook" -o datacd -graft-points
disc1/=disc1 disc2/=disc2 disc3/=disc3 disc4/=disc4 disc5/=disc5
disc6/=disc6 disc7/=disc7 disc8/=disc8 disc9/=disc9 disc10/=disc10
disc11/=disc11 disc*/* 

One would think wildcards would work here, but it doesn't seem to -
mkisofs will complain.

I can mount the CD and navigate through the directories, they seem
reasonable, but ideally I'd like to be able to do this in my settop mp3
player or portable cd/mp3 player without having to jump all over the
disc.



-- 
------------------------------------------------------------------------
David E. Fox                              Thanks for letting me
[EMAIL PROTECTED]                            change magnetic patterns
[EMAIL PROTECTED]               on your hard disk.
-----------------------------------------------------------------------

____________________________________________________
Want to buy your Pack or Services from MandrakeSoft? 
Go to http://www.mandrakestore.com
Join the Club : http://www.mandrakeclub.com
____________________________________________________

Reply via email to