bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Excluding directories based on content


From: Dr. David Alan Gilbert
Subject: Re: [Bug-tar] Excluding directories based on content
Date: Mon, 20 Nov 2006 18:52:53 +0000
User-agent: Mutt/1.5.9i

* Sergey Poznyakoff (address@hidden) wrote:
> Hi Dave,
> 
> Please try the included patch. It adds new option --exclude-tag=FILE.
> The invocation `tar -c --exclude-tag=FILE' will exclude from the dump
> the directories that contain FILE.
> 
> Multiple --exclude-tag options accumulate.
> 
> The patch is against the CVS head, but it should apply to 1.16 cleanly.

Thank you! I hadn't expected you to work this quickly!

This looks like it works wonderfully; although I've only tried it
on a small subset of my typical data set (I tried the full dataset
but to /dev/null and that took 20minutes as against 7 hours
for my normal run, but I'll try a normal use of it tomorrow).

(For those asking how big this stuff is - well I'm not sure,
I started a find | wc -l about 10 mins ago and it hasn't finished - 
my guess is there are about 2M files on there of which about 50%
actually go into the tar.)

Thank you very much again!

Dave
-- 
 -----Open up your eyes, open up your mind, open up your code -------   
/ Dr. David Alan Gilbert    | Running GNU/Linux on Alpha,68K| Happy  \ 
\ gro.gilbert @ treblig.org | MIPS,x86,ARM,SPARC,PPC & HPPA | In Hex /
 \ _________________________|_____ http://www.treblig.org   |_______/




reply via email to

[Prev in Thread] Current Thread [Next in Thread]