bug-tar
[Top][All Lists]
Advanced

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

[Bug-tar] trouble on --occurrence option


From: Emmanuel Borlet
Subject: [Bug-tar] trouble on --occurrence option
Date: Mon, 8 Nov 2010 16:14:24 +0100

Helo,

I think there is a trouble on this option on centos 5.5. (tar-1.15.1-30.el5)
It didn't do anything for me.

I'm using it on an archive and on a file near the start of the archive, but tar 
continue even my file is "untared".

Ex :
tar -zxvf some.tar.gz -C /tmp/test --occurrence -T /tmp/file2extract
with /tmp/file2extract
/somedirs/myfile
or
tar -zxvf some.tar.gz -C /tmp/test --occurrence /somedirs/myfilet
or
tar -zxvf some.tar.gz -C /tmp/test --occurrence=1 /somedirs/myfilet

I have tried to compile by myself the last tar but it failed on the most check

I have writen a php script that look at the output of tar (in realtime mode, 
and with --verbose --verbose --verbose)
this script see  the size and the name of the attended file (<attribute> 
<userinfo> <size> /somedirs/myfile) and wait that tar have extracted all the 
size and then kill tar.
I don't think it's a good idea...

Thank's for your help

Emmanuel Borlet


reply via email to

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