help-tar
[Top][All Lists]
Advanced

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

Re: [Help-tar] extracting files from a tar archives having many copies o


From: Payal
Subject: Re: [Help-tar] extracting files from a tar archives having many copies of the same file
Date: Fri, 6 Aug 2010 19:25:48 -0700
User-agent: Mutt/1.5.18 (2008-05-17)

On Fri, Aug 06, 2010 at 07:47:37AM +0200, Ersek, Laszlo wrote:
> On Thu, 5 Aug 2010, Payal wrote:
>
>> I have a tar archive in which i added file foo.txt 4 times (using -u  
>> switch). Now when I extract, I find that the last one overwrites all 
>> the previous ones extracted. How do I extract say only 2nd copy of 
>> foo.txt?
>
> --occurrence=2
>
> http://www.gnu.org/software/tar/manual/html_chapter/tar-invocation.html#IDX128

Thanks a lot. I was searching for it for many weeks.

With warm regards,
-Payal
-- 





reply via email to

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