View Single Post

   
  #8 (permalink)  
Old 02-21-2008, 09:19 PM
Peter Terpstra
 
Posts: n/a
Default Re: exclude in tar command

Martin Boening in <fpk1qe$fpk$02$1@news.t-online.com> :

> The --exclude can only take one pattern, IIRC. So you might try to find a
> pattern that matches everything you want to exclude, have several
> --exclude options on the command line or create a file containing all
> exclude patterns, on per line, and then exclude from that:
> tar cvf test.tar --exclude-from=patternfile etc


Thank you very much, this was what i was looking for.

Peter

--
mailtoeter@dharma.dyndns.biz
Reply With Quote