Return to BSD News archive
Path: sserve!newshost.anu.edu.au!munnari.oz.au!hpg30a.csc.cuhk.hk!news.hk.net!howland.reston.ans.net!cs.utexas.edu!news.unt.edu!replicant!jackson From: jackson@replicant.csci.unt.edu (Bruce Jackson) Newsgroups: comp.os.386bsd.bugs Subject: Re: tar (mea culpa) Date: 4 Sep 1994 02:53:06 GMT Organization: University of North Texas Lines: 23 Distribution: inet Message-ID: <34bcqi$8od@hermes.unt.edu> References: <33sr8j$1p0@jpunix.com> <34619a$dvq@hermes.unt.edu> <HB.94Sep2165930@beauvoir.cs.tu-berlin.de> NNTP-Posting-Host: replicant.csci.unt.edu >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. In article <HB.94Sep2165930@beauvoir.cs.tu-berlin.de>, Holger Bruehl <hb@cs.tu-berlin.de> wrote: > Sorry for the question, but what is the difference between --exclude and > --exclude-from ? If you invoked tar --help there are different options. > --exclude FILE exclude file FILE > -X, --exclude-from FILE exclude files listed in FILE Sorry for the confusion. I've been using the -X option which maps to "--exclude-from" and not "--exclude" I forgot that there was even two options to exclude files. Again sorry for the misinformation. -- Bruce Jackson | Univ. of North Texas | jackson@cs.unt.edu UNIX Systems Admin. | P. O. Box 13886 | GAB 550E (817)565-2279 Dept. of Computer Sci.| Denton, Tx. 76203-3886 | FAX: (817)565-2799