You can search within possibly compressed files for a regular expression.
This helps me searching for strings in old compressed logfiles.
zgrep [ grep_options ] [ -e ] pattern filename…
This greps “searchstring” (without case sensitivity) from the compressed file in filename.gz
and writes the results to a new file with the name Result.
zgrep -i 'searchstring' ./filename.gz > ./Result
This greps the same string like in the example above, but with the difference that its not just parsing one file, its searching for the string within all gzip files in this directory and its only writing the filename where the searchstring is found to the new Result file.
zgrep -il 'searchString' ./*.gz > ./Result