Posted: 2016-03-20, 21:03 UTC
I don't see a problem with an option "search recursive archives (slow!)".
Apart from .tar.(gz|xz|bzip2|lzma), this also stands for containter files like .iso, .wim, the aforementioned .(j|w|e)ar - for which it is not an anti-pattern and commonplace to contain embedded archives.
A workaround specifically for .tar's would be to stop handling them as 2-level archives. Contemporary TAR libraries can handle the compression transparently, and seeing an unpacked .tar is very rarely needed (only a few times in my 15+yr practice as an IT Pro). In fact, handling them as such is currently a nuisance due to the latter.
Apart from .tar.(gz|xz|bzip2|lzma), this also stands for containter files like .iso, .wim, the aforementioned .(j|w|e)ar - for which it is not an anti-pattern and commonplace to contain embedded archives.
A workaround specifically for .tar's would be to stop handling them as 2-level archives. Contemporary TAR libraries can handle the compression transparently, and seeing an unpacked .tar is very rarely needed (only a few times in my 15+yr practice as an IT Pro). In fact, handling them as such is currently a nuisance due to the latter.