ıɥɔıɐʇ ɐʇɐ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: http://code.google.com/p/libarchive/source/browse/trunk/examples/ http://code.google.com/p/libarchive/wiki/Examples Cheers, Tim Kientzle
