RE: Archive extraction issues

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

 



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@xxxxxxxxxx [mailto:redhat-list-bounces@xxxxxxxxxx]
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@xxxxxxxxxx?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@xxxxxxxxxx?subject=unsubscribe
https://www.redhat.com/mailman/listinfo/redhat-list

[Index of Archives]     [CentOS]     [Kernel Development]     [PAM]     [Fedora Users]     [Red Hat Development]     [Big List of Linux Books]     [Linux Admin]     [Gimp]     [Asterisk PBX]     [Yosemite News]     [Red Hat Crash Utility]


  Powered by Linux