You are using the wrong modifier, check this out:

--exclude=PATTERN
     exclude files, given as a globbing PATTERN

--exclude-from=FILE 
     exclude globbing patterns listed in FILE



Hope it helps, bye!

---Jim Osborn <[EMAIL PROTECTED]> wrote:
>
> 
> Well, more tar questions.
> 
> Firstly, I notice that trying to exclude files from being included
> in an archive doesn't seem to work. That is, no matter what variation
> of --exclude=FILE (omitting the equal sign, putting the exclude
> statement before or after the other list of files, including/omitting
> the leading / in the file's pathname) I try, the files still show
> up in the archive.  FWIW, the list of files is generated by `find.'
> 
> In reading the info docs included with SuSE 5.3, the author talks
> a lot in first person, but never seems to mention just who he/she is.
> Nor do I see any reference to a tar mailing list, or other support
> group.  So, I'm asking here, wondering if someone knows where the
> general state of tar is discussed (it's probably not on this SuSE
> list, but what the hell, it's a starting point).  
> 
> At this point, it seems that the tar on SuSE 5.3 is seriously broken,
> unless there is some secret incantation not mentioned in the docs;
> it'd be nice to hear some authoritative word on its state.  Would
> I be better off digging out the old tar from my ancient Slackware
> CDs?  That's a depressing thought...
> 
> Thanks again in advance for any info,
> 
> [EMAIL PROTECTED]
> -
> To get out of this list, please send email to [EMAIL PROTECTED] with
> this text in its body: unsubscribe suse-linux-e
> Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and
the
> archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html
> 

_________________________________________________________
DO YOU YAHOO!?
Get your free @yahoo.com address at http://mail.yahoo.com

-
To get out of this list, please send email to [EMAIL PROTECTED] with
this text in its body: unsubscribe suse-linux-e
Check out the SuSE-FAQ at http://www.suse.com/Support/Doku/FAQ/ and the
archiv at http://www.suse.com/Mailinglists/suse-linux-e/index.html

Reply via email to