bug-tar
[Top][All Lists]
Advanced

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

Re: [Bug-tar] feature request / request to add into head version


From: Sergey Poznyakoff
Subject: Re: [Bug-tar] feature request / request to add into head version
Date: Wed, 13 Jan 2010 23:58:39 +0200

Zoubek Ondùej <address@hidden> ha escrit:

> I have added --only-first-file option to tar utility, version 1.19-3 
> obtained from my kubuntu repository as current version and sending its diff.
> 
> Its purpose is to extract only first file from archive (typically read
> from stdin) and die just after extracting it and not flushing input
> pipe (change to sys_drain_input_pipe() function).

There's hardly any need for the new option. You can achieve the same
effect by running:

  tar -xf archive-name --occurrence=1 --wildcards '*'

Regards,
Sergey




reply via email to

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