Re: mkisofs exclude paramater.

View: New views
5 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: mkisofs exclude paramater.

by Quey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Ahhhh ok if I  "-x /samba/files /samba"  it works .. so can I make  
this a "minor" bug report please, so it works as most people would  
think it would (identical to shell)

Thank you muchly



On 18/04/09 20:32:21, Quey wrote:

> Hi, I have a problem in trying to exclude a directory.
> Trying to backup (exluding a very large directory called ftp) by...
>
> cd /samba
> mkisofs -R -o /tmp/samba.iso -x /samba/ftp *
>
> Now I think this should work, according to man page, but it aborts  
> saying the same filetype in found in two directories, one of them  
> is in fact the excluded "ftp" directory, am I doing something wrong  
> or is this a minor bug? I would have thought it would ignore the  
> excluded directory?
> I have tried "-x /samba/ftp/*" as well, same problem.
>
> Thanks
_______________________________________________
Cdrecord-support mailing list
Cdrecord-support@...
https://lists.berlios.de/mailman/listinfo/cdrecord-support

Re: mkisofs exclude paramater.

by Joerg Schilling-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Quey <qms01@...> wrote:

> Ahhhh ok if I  "-x /samba/files /samba"  it works .. so can I make  
> this a "minor" bug report please, so it works as most people would  
> think it would (identical to shell)

There is no bug, mkisofs works as documented.
PLease carefully reread the man page.

> On 18/04/09 20:32:21, Quey wrote:
> > Hi, I have a problem in trying to exclude a directory.
> > Trying to backup (exluding a very large directory called ftp) by...
> >
> > cd /samba
> > mkisofs -R -o /tmp/samba.iso -x /samba/ftp *

If you probably tell tell mkisofs to put the same names in different
subdiretories to the same location on the CD, you should expect problems from
dupplicate names.

If you have problems to understand the -x syntax, try the -find syntax. e.g.:

mkisofs -R -o xxx.iso -find . ! -path './subdir*'

Jörg

--
 EMail:joerg@... (home) Jörg Schilling D-13353 Berlin
       js@...                (uni)  
       joerg.schilling@... (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
Cdrecord-support mailing list
Cdrecord-support@...
https://lists.berlios.de/mailman/listinfo/cdrecord-support

Re: mkisofs exclude paramater.

by Quey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 18/04/09 22:35:46, Joerg Schilling wrote:

> Quey <qms01@...> wrote:
>
> > Ahhhh ok if I  "-x /samba/files /samba"  it works .. so can I  
> make
>
> > this a "minor" bug report please, so it works as most people  
> would
>
> > think it would (identical to shell)
>
> There is no bug, mkisofs works as documented.
> PLease carefully reread the man page.

so it works differently to most other software written since the 20th  
century? as target should not have to be explicitly named if you are  
already there, even your much detested "tar" does that, or do you  
think it does that because its broken...
(waits for your usual rhetoric about how your softwares are writen  
well and everyone elses aren't :->)

I'd suggest making this a feature request but i know youll dismiss it  
so I wont.
_______________________________________________
Cdrecord-support mailing list
Cdrecord-support@...
https://lists.berlios.de/mailman/listinfo/cdrecord-support

Re: mkisofs exclude paramater.

by Joerg Schilling-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Quey <qms01@...> wrote:

> On 18/04/09 22:35:46, Joerg Schilling wrote:
> > Quey <qms01@...> wrote:
> >
> > > Ahhhh ok if I  "-x /samba/files /samba"  it works .. so can I  
> > make
> >
> > > this a "minor" bug report please, so it works as most people  
> > would
> >
> > > think it would (identical to shell)
> >
> > There is no bug, mkisofs works as documented.
> > PLease carefully reread the man page.
>
> so it works differently to most other software written since the 20th  
> century? as target should not have to be explicitly named if you are  
> already there, even your much detested "tar" does that, or do you  
> think it does that because its broken...

Sorry, but I cannot see any helpful content in your mail.

The -x option has been implemented by Eric Youngdale in December 1993.
The was marked as deprecated by Eric Youngdale in November 1997
because it does not work as most users expect. See mkisofs -help:

  -x FILE, -old-exclude FILE  Exclude file name(depreciated)

So the main question is: Why do you try to use an option that is deprecated
since nearly 12 years?

Why don't you read the man page to find more apropriate options:

  -m GLOBFILE, -exclude GLOBFILE
                              Exclude file name
  -exclude-list FILE          File with list of file names to exclude


or the -find option that implementd the find(1) command inside mkisofs.
BTW: Builtin find(1) in mkisofs was added three years ago....

Jörg

--
 EMail:joerg@... (home) Jörg Schilling D-13353 Berlin
       js@...                (uni)  
       joerg.schilling@... (work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily
_______________________________________________
Cdrecord-support mailing list
Cdrecord-support@...
https://lists.berlios.de/mailman/listinfo/cdrecord-support

Re: mkisofs exclude paramater.

by Quey :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On 19/04/09 07:44:44, Joerg Schilling wrote:

 

> The -x option has been implemented by Eric Youngdale in December
> 1993.
> The was marked as deprecated by Eric Youngdale in November 1997
> because it does not work as most users expect. See mkisofs -help:
>
>   -x FILE, -old-exclude FILE  Exclude file name(depreciated)
>
> So the main question is: Why do you try to use an option that is
> deprecated
> since nearly 12 years?
>
> Why don't you read the man page to find more apropriate options:

I read the man page, where the hell do you think I got  -x from?  
pulled it out of my ass?

if the man page includes it, it should be supported, if it is not a  
supported option, remove it from the options in man page and there  
would exist zero confusion.


_______________________________________________
Cdrecord-support mailing list
Cdrecord-support@...
https://lists.berlios.de/mailman/listinfo/cdrecord-support