Created
April 30, 2014 17:48
-
-
Save Rachitlohani/c78a33c2cca76548865b to your computer and use it in GitHub Desktop.
s3 commands
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
s3cmd ls --recursive s3://mys3.com/bucket1/ | 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