A number of people have asked in the past if it is possible to create an
ISO9660 image with just the file names given on the command line and
preserving their path.
I've made a very quick hack to mkisofs that interprets 'path-spec' command
line arguments or the contents of file used with the -path-list option as
complete path names to include.
i.e. it is possible to do something like:
find dir [-other_options] -print | mkisofs -files -path-list - [-other_options]
This will create an ISO9660 output image with the same structure given by
the find command - in other words, using a list of files to include in
the output. Directories will be added, but not traversed.
I've included the a patch below (it's quite small) to mkisofs v1.14
(cdrtools v1.10) which adds the option '-files' as shown above.
A number of caveats:
This is a very quick hack - not fully tested.
Directories will have the current date.
Using any of the hide/hidden/exclude options may not work as expected.
Should work with the various 'double dash' HFS options, although any resource
or finderinfo files/directories must not be in the input list.
Will not work with the -graft-points syntax
Using 'find . [-other_options]' doesn't work ...
Deep directories aren't relocated.
There are probably more ...
If anyone is interested in this, then let me know ...
James Pearson
begin 664 mkisofs-1.14-files-1.patch.gz
M'XL("!6,"SL``VUK:7-O9G,M,2XQ-"UF:6QE<RTQ+G!A=&-H`)U6;6_;-A#^
MK/R*FXLBB2,G>G/LR.B`K'668&D2U!V*H2T$6J)LSC*ID533K.A_WY&47YHX
MP#9_L,3C'<E[^-QSZG:[L%PP)4IUG!\73&GO0C(XKR5$`82G:=)/^P&^!^%>
MK]?;^'H?:`%OR0-$,81!&@S2N'7K_O@S8PCCOA\F`5B#6<<9(L#WWAX`X]K[
M(JIF23-%=:;8WQ1>03AZ//570WE.,]XLIU2N//:.K%/)*JK0%HS0@&:E99-K
MH)46DFF13870&>5:/F2,EP*Z)9-*;YDQ]N;WZ^O1OXFMR/\.S1LI<;PK>A=T
M<73FQW&[EMAIL PROTECTED],5]"]*&C).(7;N_=7MS?9Z\OQZ]^RR7@RP9'GA<%I\-3I
MXO;=ZW'V[IUG'4*'X6.?J^OQQ#G$#M`7K$07.+^[NQYGEW_\LF/S\SN,0!;L
MV/-F_/[<3>ZF2!+U_23>HDB"B2?QZ2I/#_8_!?L^=):BH!U\OB4+"GI.P1A`
ME$"J"NJ*,`Z."GK.E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