On 2024-10-24 10:09, Matteo Croce wrote:
I know that it's possible to pipe the stream with an external process, but there are some use cases where a seekable file descriptor is preferable.
If it's seekable, why not seek before invoking 'tar'? E.g.: (dd ibs=1024 skip=1 count=0 && tar -tf -) <inputfile That way you can use 'tar' as-is, without a new option needed.