Archive extraction issues

Johan Booysen johan at matrix-data.co.uk
Mon Oct 15 14:29:43 UTC 2007


Thanks for your reply.  I'll have a go.

What I want to do is extract backup tar file, while not extracting the
member tar files. 

-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com] On Behalf Of Matt 
Sent: 15 October 2007 15:28
To: 'General Red Hat Linux discussion list'
Subject: RE: Archive extraction issues

See this link (at the bottom).  It explains how to do what I believe you
are looking for (or at least gets you close).
http://www.linuxdevcenter.com/pub/a/linux/lpt/20_08.html


-----Original Message-----
From: redhat-list-bounces at redhat.com
[mailto:redhat-list-bounces at redhat.com]
On Behalf Of Johan Booysen
Sent: Monday, October 15, 2007 9:35 AM
To: General Red Hat Linux discussion list
Subject: Archive extraction issues

I'm trying to use tar to (sort of) make an incremental backup of a
directory which contains subdirectories and a couple of other tar
archives:
tar -cvf incremental.tar --newer-mtime "11 Oct 2007" *
 
This works the way I want it to, but I've noticed that when I later
extract the incremental.tar file (which contains other tar archives)
then in that process it also extracts the other tar archives it
contains.
 
Is there a way of getting tar to NOT extract the member archives?  I've
read the man pages and googled on this issue but can't get it to work.
 
Thanks.
-- 

redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=subscribe
https://www.redhat.com/mailman/listinfo/redhat-list

No virus found in this incoming message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.14.10/1070 - Release Date:
10/14/2007
9:22 AM
 

No virus found in this outgoing message.
Checked by AVG Free Edition. 
Version: 7.5.488 / Virus Database: 269.14.10/1070 - Release Date:
10/14/2007
9:22 AM
 

-- 

redhat-list mailing list
unsubscribe mailto:redhat-list-request at redhat.com?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list




More information about the redhat-list mailing list