Re: Anyone have experience with the Gtar option --exclude='FileGlob' ?
"Stuart D. Gathman" <[email protected]> Mon, 17 Jun 2002 16:26:35 -0400 (EDT)
| Newsgroups | gmane.linux.tape |
|---|---|
| Message-ID | <[email protected]> |
On Mon, 17 Jun 2002, Mr. James W. Laferriere wrote: > Hello All , I am using Gtar 1.13 & I have to be using this > function incorrectly as tar still stuffs the 'FileGlob' files > into the tarball everytime . Yes I know about the > [ -l, --one-file-system ] . I'd prefer not to use the /dev/nst0 > device entry in the script I am trying to build that using '-l' > would cause . Tia , JimL > > I have tried : > > --exclude="proc/*" > --exclude="proc/." We use the --exclude-from option, which takes the name of a file. tar -l --atime-preserve --totals -X daily.exclude -cvf /dev/... / /boot daily.exclude: /tmp/* /var/cache/*/* /var/tmp/* /work/* /home.old/* -- Stuart D. Gathman <[email protected]> Business Management Systems Inc. Phone: 703 591-0911 Fax: 703 591-6154 "Microsoft is the QWERTY of Operating Systems" - SDG "Confutatis maledictis, flamis acribus addictis" - background song for a Microsoft sponsored "Where do you want to go from here?" commercial. (HINT: The song is "Dies Irae" from the Mozart Requiem.) - To unsubscribe from this list: send the line "unsubscribe linux-tape" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html