[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Bug-tar] feature request, to pass archive file name to "--to-comman
Re: [Bug-tar] feature request, to pass archive file name to "--to-command"
Wed, 24 Feb 2010 23:45:48 -0800
Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:22.214.171.124) Gecko/20090601 SeaMonkey/1.1.16
ıɥɔıɐʇ ɐʇɐqɐʍɐʞ wrote:
I would like to request one feature for "gnu tar" command.
That is, passing the `extracted file name' as the first argument
for the command of "--to-command" option.
The reason that I would like to have this feature is to process
contents of `tar' archive via pipe while its original file name keep in record.
Depending on your exact needs, you might find
it simpler to use a library such as libarchive
to create a custom extractor that does exactly
what you want. Here are some simple examples
that you can use as starting points: