💻 Software
How do you search for strings in a file which in turn is in an archive?
Fresh5 days ago
Mar 15, 20266509 viewsConfidence Score0%
0%
Problem
I can search through a number of files for a particular string by pipelining 'grep' and 'find' commands. Now, I have some 10 zip files each of which has archived a lot of text files. Is there any way I could search for a string in all text files archived in all those zip files without extracting th…
Unverified for your environment
Select your OS to check compatibility.
1 Fix
Canonical Fix
Unverified Fix
New Fix – Awaiting Verification
Fix for: How do you search for strings in a file which in turn is in an archive?
Low Risk
You can also use zipgrep command that is included with unzip package. For example: This command gives you matched file names inside the archives as well.
Awaiting Verification
Be the first to verify this fix
Sign in to verify this fix