Created
May 17, 2016 20:07
-
-
Save marcusdb/94c28523f7aa75ab44dc48a1ccbb5c93 to your computer and use it in GitHub Desktop.
finding in s3
This file contains hidden or 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
| finding in xml files | |
| aws s3 ls --recursive s3://bucket/ | awk '{print $4}' | grep '.xml' | xargs -I@ aws s3 cp s3://bucket/@ - | grep '35160561230314000507550020001107201294779231' | wc -l | |
| finding in gzip files!!! | |
| s3cmd ls --recursive s3://notafiscal-mailing/ | awk '{print $4}' | grep '.gz' | xargs -I@ s3cmd get @ - | zgrep 'request' | wc -l |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment