Created
February 2, 2015 16:49
-
-
Save rpavlovic/98a512eaa181eae60be9 to your computer and use it in GitHub Desktop.
search directory of .zip files for file(s) containing text
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
for file in *.zip; do unzip -c "$file" | grep "text to find" && echo $f; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment