Created
July 30, 2014 11:56
-
-
Save x/93793c12003b1312ffda to your computer and use it in GitHub Desktop.
get s3 files by grep
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
| s3cmd ls s3://S3_BUCKET | grep PATTERN | tr -s ' ' | cut -d' ' -f4- | xargs s3cmd get |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment