Page 1 of 1
Is there any specific file format for exclude-list mkisofs
Posted: Sun Feb 04, 2007 11:08 am
by sandip.bhoi
Hi there,
Is there any specific path of specifying the files excluded to make .iso by mkisofs?
Please inform me or from where can i findout more information on this with some examples.
Thanks & Regards,
Sandip Bhoi
problem with exclude-list in mkisofs
Posted: Sun Feb 04, 2007 11:27 am
by sandip.bhoi
I am providing the a excludefile in which the file names are listed with absolute path names, separated by space
the command as..
Code: Select all
mkisofs -graft-points -R -J -f -l -D -no-bak -o C:\DOCUME~1\Sandip\LOCALS~1\Temp\CDImage64222.iso --exclude-list "C:\Documents and Settings\Sandip/../exclude-file-list.txt" "/General/"="E:/General/"
and the content of exclude-file-list.txt are
eg.
Code: Select all
"E:\General\BlueTheme" "E:\General\ProposedDesignByClient\BurnerNewDesign3.jpg"
"E:\General\CheckItOut.zip"
and making a .iso file, the file gets created successfully without any erro or warning.
The Root Dir is
But as finaly i write the iso with cdrecord the excluded files are also present in it.
Where i am doing wrong?
Please help me..
Posted: Sun Feb 04, 2007 9:34 pm
by Constance
Looks like you're messing up with slashes and backslashes ... if I remember well, mkisofs doesn't like backslashes as directory separators.
Is there any specific file format for exclude-list mkisofs
Posted: Mon Feb 05, 2007 3:46 am
by sandip.bhoi
thank you for reply,
though it is not giving any error for back slash..
.... i tried it by also by making the correction with the back slashes
ie. back slashes[\] are replaced with forward slash[/] , still it is not working.
Also when i specify some files to exclude as
exclude-files-list.txt ---
rahul
then it removes the uppermost directory
rahul. Following is the directory structure
Code: Select all
/people
/rahul
/rahul
1.jpg
2.jpg
3.jpg
1.psd
2.psd
/sandip
1.jpg
2.jpg
if i want to remove the folder /people/rahul/rahul which contains 1.jpg, 2.jpg,3.jpg thwn what entry should be in the exclude file.
problem 2)
the exclude file accepts only one entry as only a file name e.g 1.jpg or the wild card *.jpg
if i add more than one entry separated by space it doesn't work either for single entry and all files get included.
eg. in order to remove the files 1) /people/sandip/1.jpg and
2) /people/rahul/1.psd
what shoud be the content of exclude file?
plz reply ...[/quote]
Posted: Mon Feb 05, 2007 4:10 am
by Constance
Hmm you may try "people*1.*" not sure it will work though, depends on if it considers it as a regular expression or just the dos-like wildcard system...
Anyway, I guess it would be more simple if you created a directory where you would copy all the files you want and not the files you don't, that would avoid these problems with the excluding system, as it doesn't seem easy to get it working.