Is there any specific file format for exclude-list mkisofs

Try looking for help here if you are having problems with the Ultimate Boot CD.

Moderators: Icecube, StopSpazzing

Locked
Message
Author
sandip.bhoi
Posts: 3
Joined: Sun Feb 04, 2007 10:54 am
Location: Nasik,Maharashtra,India

Is there any specific file format for exclude-list mkisofs

#1 Post by sandip.bhoi » Sun Feb 04, 2007 11:08 am

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

sandip.bhoi
Posts: 3
Joined: Sun Feb 04, 2007 10:54 am
Location: Nasik,Maharashtra,India

problem with exclude-list in mkisofs

#2 Post by sandip.bhoi » Sun Feb 04, 2007 11:27 am

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

Code: Select all

/General/


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..

Constance
Posts: 338
Joined: Fri Sep 23, 2005 1:21 am
Location: France

#3 Post by Constance » Sun Feb 04, 2007 9:34 pm

Looks like you're messing up with slashes and backslashes ... if I remember well, mkisofs doesn't like backslashes as directory separators.
Hammerite Compendium of Precepts, Regimens and Rules of Conduct, Vol. 113 :
A stroke of thy chisel, once made, canst be undone, but a stroke thou dost not make from fear is a worse flaw.
Be not cautious - be correct.

sandip.bhoi
Posts: 3
Joined: Sun Feb 04, 2007 10:54 am
Location: Nasik,Maharashtra,India

Is there any specific file format for exclude-list mkisofs

#4 Post by sandip.bhoi » Mon Feb 05, 2007 3:46 am

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]

Constance
Posts: 338
Joined: Fri Sep 23, 2005 1:21 am
Location: France

#5 Post by Constance » Mon Feb 05, 2007 4:10 am

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.
Hammerite Compendium of Precepts, Regimens and Rules of Conduct, Vol. 113 :
A stroke of thy chisel, once made, canst be undone, but a stroke thou dost not make from fear is a worse flaw.
Be not cautious - be correct.

Locked