On Friday 24 March 2006 05:53, "Michael Kintzios" 
<[EMAIL PROTECTED]> wrote about 'RE: [gentoo-user] How to tar?':
> -----Original Message-----
> From: Benno Schulenberg [mailto:[EMAIL PROTECTED]
> > Michael Kintzios wrote:
> > > what I think is needed
> > > here is untarring of the archive, while untarred data is
> > > dynamically deleted immediately after untarred to make space for
> > > more data to be untarred . . . do I make sense?
> >
> > Yes, but GNU tar cannot do that, it can only do one command at a
> > time, either --extract or --delete or ...
>
> Yes, that's why I was hoping that some clever bash-ery may be able to
> pipe the lot together.

Perhaps:
tar xvf gentoo_usr.tar | while read file; do tar --delete f gentoo_usr.tar 
"$file"; done

That might just screw up your tar file and/or extract junk; I didn't test 
it at all.

-- 
"If there's one thing we've established over the years,
it's that the vast majority of our users don't have the slightest
clue what's best for them in terms of package stability."
-- Gentoo Developer Ciaran McCreesh
-- 
[email protected] mailing list

Reply via email to