Re: Exclude dir as string parameter
"Zoran Ljubisic" <[email protected]> Thu, 27 Oct 2005 14:15:01 +0200
| Newsgroups | gmane.comp.archivers.star.user |
|---|---|
| Message-ID | <003101c5daf2$2b50e5f0$fd01a8c0@zoran> |
Joerg Schilling wrote: > "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 Can you please give to me a small example? As a linux novice I am not quite sure how to use match. Zoran