I have thousands of 7z files named data1.7z, data2.7z, and so on. Each file's content is data1.log, data2.log, etc. I can list the contents using
7z l *.7z.
I would like to do is grep or find a pattern inside .log files without the need of extracting all.
These files contain IP addresses and hoping to find a set of IP addresses from another file named ipaddress.txt within each .log file and print out the lines which match for any of the IP from the .txt file.
Thanks in advance.