Re: Excluding paths with mkisofs
Bill Davidsen <davidsen@tmr.com> wrote:
> > find . -path 'pattern' -prune -o -print
> >
> >
> >
> >
> Even if you understand it, -path appears to be rooted and hard to use...
> For instance, to avoid backing up application cache directories, you
> need to use
>
> -path '*/[Cc]ache/*'
>
> to get what you want. Something more intuitive would be useful to mere
> mortals, thus my original suggestion.
>
> The current implementation is an example of "if it was hard to write it
> should be hard to use."
No, it is easy to use if you did understand the way it works.
and BTW: mkisofs -find is not different to use than mkisofs -exclude-path
Jörg
--
EMail:joerg@schily.isdn.cs.tu-berlin.de (home) Jörg Schilling D-13353 Berlin
js@cs.tu-berlin.de (uni)
schilling@fokus.fraunhofer.de (work) Blog: http://schily.blogspot.com/
URL: http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily
Reply to: