Last active
November 21, 2023 09:06
-
-
Save PatrickSchiffmann/42d1d37e1b685eb89fba52edd619158e to your computer and use it in GitHub Desktop.
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
find -name "archive\.tar" | xargs -i tar xvf {} -O 2>/dev/null | grep -H -i "^Program finished successfully\|error" > logs.txt | |
grep successfully logs.txt | wc -l | |
grep Error logs.txt | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment