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
# list all buckets in an account | |
s3cmd --config .s3cfg-prod ls | sed -e 's|^.*s3://||' | |
# list all buckets, then iterate through to show contents bit by bit. | |
for i in `s3cmd --config .s3cfg-prod ls | sed -e 's|^.*s3://||'`; do | |
( echo $i; s3cmd --config .s3cfg-prod ls s3://$i; ) | less; | |
done | |
NewerOlder