Archive extraction issues

Matt info at rudmann.com
Mon Oct 15 14:20:10 UTC 2007


Perhaps you can either:
1) Use the exclude parameter to avoid collecting the tar's in the
directories
2) Define in your extract to suppress the extraction of located tar's within
that extract.

Check out all of the parameter options.

Good luck!


-----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
 




More information about the redhat-list mailing list