ptargrep
Find regex patterns in .tar archive files. tldr-pages
On several platforms
Several platforms
Search for a pattern within one or more .tar archives
ptargrep "search_pattern" path/to/file1 path/to/file2 ...IdentifyExtract to the current directory using the basename of the file from the archive
ptargrep --basename "search_pattern" path/to/fileIdentifySearch for a case-insensitive pattern matching within a .tar archive
ptargrep --ignore-case "search_pattern" path/to/fileIdentify