Extract file from tar home/
Mike McCarty
Mike.McCarty at sbcglobal.net
Thu Jun 10 08:50:12 UTC 2010
Patrick O'Callaghan wrote:
> On Wed, 2010-06-09 at 00:39 -0430, Patrick O'Callaghan wrote:
>> On Tue, 2010-06-08 at 21:55 -0500, Robert Nichols wrote:
[...]
>>> Even after it has extracted everything you
>>> asked for, tar will continue to the end of the archive looking for a
>>> possible later version of one of the files you wanted, appended with a
>>> --concatenate operation after the original archive was created.
>> A good point which I hadn't considered.
>
> On further reflexion and a close reading of "info tar", we find the
> following:
>
> `--occurrence[=NUMBER]'
> This option can be used in conjunction with one of the subcommands
> `--delete', `--diff', `--extract' or `--list' when a list of files
> is given either on the command line or via `-T' option.
Hmm. That's nice behavior. My version of tar doesn't do that. It
always reads to EOF. I think I'll have to upgrade, since I use
tar to do backups, and when I restore, I have to go through
all the DVDs up to the file I want, and then abort with a ^C or
similar.
I wonder when that was added?
Mike
--
p="p=%c%s%c;main(){printf(p,34,p,34);}";main(){printf(p,34,p,34);}
Oppose globalization and One World Governments like the UN.
This message made from 100% recycled bits.
You have found the bank of Larn.
I speak only for myself, and I am unanimous in that!
More information about the users
mailing list