Re: Exclude dir as string parameter

Joerg Schilling <[email protected]> Wed, 26 Oct 2005 19:00:49 +0200
Newsgroups gmane.comp.archivers.star.user
Message-ID <435FB641.nailEA51WDOSP@burner>
"Zoran Ljubisic" <[email protected]> wrote:

> Hi,
>
> If I define string with all exclude dirs for example:
>
> ExclDir="/tmp /proc /mydir"
>
> Is it possible to incorporate ExclDir variable into star command somehow to 
> get
>
> star -c -V /tmp/\* -V /proc/\* -V /mydir/\* ... ?

read the match(1) man page and use '!' expressions

Jörg

-- 
 EMail:[email protected] (home) Jörg Schilling D-13353 Berlin
       [email protected]		(uni)  
       [email protected]	(work) Blog: http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/old/private/ ftp://ftp.berlios.de/pub/schily