Return to BSD News archive
Path: sserve!newshost.anu.edu.au!harbinger.cc.monash.edu.au!msuinfo!agate!howland.reston.ans.net!math.ohio-state.edu!jussieu.fr!univ-lyon1.fr!swidir.switch.ch!scsing.switch.ch!news.dfn.de!news.belwue.de!zib-berlin.de!zrz.TU-Berlin.DE!cs.tu-berlin.de!beauvoir!hb From: hb@cs.tu-berlin.de (Holger Bruehl) Newsgroups: comp.os.386bsd.bugs Subject: Re: tar --exclude dosn't work. Date: 02 Sep 1994 14:59:28 GMT Organization: TU Berlin Fachbereich Informatik Lines: 23 Distribution: inet Message-ID: <HB.94Sep2165930@beauvoir.cs.tu-berlin.de> References: <33sr8j$1p0@jpunix.com> <34619a$dvq@hermes.unt.edu> NNTP-Posting-Host: beauvoir.cs.tu-berlin.de Mime-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit In-reply-to: jackson@replicant.csci.unt.edu's message of 2 Sep 1994 02:05:30 GMT In article jackson@replicant.csci.unt.edu (Bruce Jackson) writes: > You are using this option incorrectly. The argument to "--exclude" > needs to be a file containing the files or regular expressions that > match the files you do not want to archive. To exclude /user/usenet > just put "/user/usenet" on a line in a file and then use the filename > as the argument to --exclude. Sorry for the question, but what is the difference between --exclude and --exclude-from ? If you invoked tar --help there are different options. > tar --help [...] --exclude FILE exclude file FILE -X, --exclude-from FILE exclude files listed in FILE [...] So long Holger -- Holger Brühl <hb@cs.tu-berlin.de> Technische Universität Berlin