Re: exclude directories

Joerg Schilling <[email protected]> Tue, 26 Feb 2013 11:23:58 +0100
Newsgroups gmane.comp.archivers.star.user
Message-ID <512c8d3e.huiumpQeKegH5ODF%[email protected]>
Ashley <[email protected]> wrote:

> Hi there
>
> How can I exclude a few directories?
> I have tried using --exclude-from $EXCL_LIST  and listed the directories =

> in the said file, but
> this does not work?

Hi, why do you believe that an option will work that was never implemented =
this =

way by tar?

Star supports patterns since aprox. 1985 and it recently (since 2007) suppo=
rts =

the -X option from tar (exclude a non-pattern containing list of files loca=
ted =

in a file).

Star also includes find(1) via libfind since 2004, so you have plenty of wa=
ys =

to do what you like.

BTW: this is documented in the man page ;-)

J=F6rg

-- =

 EMail:[email protected] (home) J=F6rg Schilling D-13353 Be=
rlin
       [email protected]                (uni)  =

       [email protected] (work) Blog: http://schily.blogs=
pot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily