Skip to content

Instantly share code, notes, and snippets.

@kellymclaughlin
Created February 14, 2013 17:14
Show Gist options
  • Save kellymclaughlin/4954373 to your computer and use it in GitHub Desktop.
Save kellymclaughlin/4954373 to your computer and use it in GitHub Desktop.
22:58:43:s3tmp $ s3cmd -c ~/.s3cfg-amz mb s3://kellys_bucket
Bucket 's3://kellys_bucket/' created
10:12:51:s3tmp $ s3cmd -c ~/.s3cfg-amz mb s3://kellys_bucket
Bucket 's3://kellys_bucket/' created
10:12:52:s3tmp $ s3cmd -c ~/.s3cfg-amz mb -v -d s3://kellys_bucket
DEBUG: ConfigParser: Reading file '/Users/kelly/.s3cfg-amz'
DEBUG: ConfigParser: access_key->AK...17_chars...Q
DEBUG: ConfigParser: bucket_location->US
DEBUG: ConfigParser: cloudfront_host->cloudfront.amazonaws.com
DEBUG: ConfigParser: cloudfront_resource->/2010-07-15/distribution
DEBUG: ConfigParser: default_mime_type->binary/octet-stream
DEBUG: ConfigParser: delete_removed->False
DEBUG: ConfigParser: dry_run->False
DEBUG: ConfigParser: encoding->UTF-8
DEBUG: ConfigParser: encrypt->False
DEBUG: ConfigParser: follow_symlinks->False
DEBUG: ConfigParser: force->False
DEBUG: ConfigParser: get_continue->False
DEBUG: ConfigParser: gpg_command->/usr/local/bin/gpg
DEBUG: ConfigParser: gpg_decrypt->%(gpg_command)s -d --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
DEBUG: ConfigParser: gpg_encrypt->%(gpg_command)s -c --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
DEBUG: ConfigParser: gpg_passphrase->pa...5_chars...d
DEBUG: ConfigParser: guess_mime_type->True
DEBUG: ConfigParser: host_base->s3.amazonaws.com
DEBUG: ConfigParser: host_bucket->%(bucket)s.s3.amazonaws.com
DEBUG: ConfigParser: human_readable_sizes->False
DEBUG: ConfigParser: list_md5->False
DEBUG: ConfigParser: log_target_prefix->
DEBUG: ConfigParser: preserve_attrs->True
DEBUG: ConfigParser: progress_meter->True
DEBUG: ConfigParser: proxy_host->
DEBUG: ConfigParser: proxy_port->0
DEBUG: ConfigParser: recursive->False
DEBUG: ConfigParser: recv_chunk->4096
DEBUG: ConfigParser: reduced_redundancy->False
DEBUG: ConfigParser: secret_key->JG...37_chars...C
DEBUG: ConfigParser: send_chunk->4096
DEBUG: ConfigParser: simpledb_host->sdb.amazonaws.com
DEBUG: ConfigParser: skip_existing->False
DEBUG: ConfigParser: socket_timeout->300
DEBUG: ConfigParser: urlencoding_mode->normal
DEBUG: ConfigParser: use_https->False
DEBUG: ConfigParser: verbosity->WARNING
DEBUG: Updating Config.Config encoding -> UTF-8
DEBUG: Updating Config.Config follow_symlinks -> False
DEBUG: Updating Config.Config verbosity -> 10
DEBUG: Unicodising 'mb' using UTF-8
DEBUG: Unicodising 's3://kellys_bucket' using UTF-8
DEBUG: Command: mb
DEBUG: SignHeaders: 'PUT\n\n\n\nx-amz-date:Thu, 14 Feb 2013 17:12:58 +0000\n/kellys_bucket/'
DEBUG: CreateRequest: resource[uri]=/
DEBUG: SignHeaders: 'PUT\n\n\n\nx-amz-date:Thu, 14 Feb 2013 17:12:58 +0000\n/kellys_bucket/'
DEBUG: Processing request, please wait...
DEBUG: Unicodising "Bucket name 'kellys_bucket' contains disallowed character '_'. The only supported ones are: lowercase us-ascii letters (a-z), digits (0-9), dot (.) and hyphen (-)." using UTF-8
DEBUG: get_hostname(kellys_bucket): s3.amazonaws.com
DEBUG: Unicodising "Bucket name 'kellys_bucket' contains disallowed character '_'. The only supported ones are: lowercase us-ascii letters (a-z), digits (0-9), dot (.) and hyphen (-)." using UTF-8
DEBUG: format_uri(): /kellys_bucket/
DEBUG: Sending request method_string='PUT', uri='/kellys_bucket/', headers={'content-length': '0', 'Authorization': 'AWS AKIAIEBFVIZM3B6JGT4Q:VTFyOyP0T4PnBo/e8tVzOgi838I=', 'x-amz-date': 'Thu, 14 Feb 2013 17:12:58 +0000'}, body=(0 bytes)
DEBUG: Response: {'status': 200, 'headers': {'content-length': '0', 'x-amz-id-2': 'iRmCo9bhzqfr+yoLOn+smOOEaCpbpgwQdsUojOr/zkN1Nc950zyhuI8mA9AmpBtX', 'server': 'AmazonS3', 'x-amz-request-id': 'AAC2D213B0948B61', 'location': '/kellys_bucket', 'date': 'Thu, 14 Feb 2013 17:12:55 GMT'}, 'reason': 'OK', 'data': ''}
Bucket 's3://kellys_bucket/' created
10:12:59:s3tmp $ s3cmd -c ~/.s3cfg-amz mb -v -d s3://kellys_bucket
DEBUG: ConfigParser: Reading file '/Users/kelly/.s3cfg-amz'
DEBUG: ConfigParser: access_key->AK...17_chars...Q
DEBUG: ConfigParser: bucket_location->US
DEBUG: ConfigParser: cloudfront_host->cloudfront.amazonaws.com
DEBUG: ConfigParser: cloudfront_resource->/2010-07-15/distribution
DEBUG: ConfigParser: default_mime_type->binary/octet-stream
DEBUG: ConfigParser: delete_removed->False
DEBUG: ConfigParser: dry_run->False
DEBUG: ConfigParser: encoding->UTF-8
DEBUG: ConfigParser: encrypt->False
DEBUG: ConfigParser: follow_symlinks->False
DEBUG: ConfigParser: force->False
DEBUG: ConfigParser: get_continue->False
DEBUG: ConfigParser: gpg_command->/usr/local/bin/gpg
DEBUG: ConfigParser: gpg_decrypt->%(gpg_command)s -d --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
DEBUG: ConfigParser: gpg_encrypt->%(gpg_command)s -c --verbose --no-use-agent --batch --yes --passphrase-fd %(passphrase_fd)s -o %(output_file)s %(input_file)s
DEBUG: ConfigParser: gpg_passphrase->pa...5_chars...d
DEBUG: ConfigParser: guess_mime_type->True
DEBUG: ConfigParser: host_base->s3.amazonaws.com
DEBUG: ConfigParser: host_bucket->%(bucket)s.s3.amazonaws.com
DEBUG: ConfigParser: human_readable_sizes->False
DEBUG: ConfigParser: list_md5->False
DEBUG: ConfigParser: log_target_prefix->
DEBUG: ConfigParser: preserve_attrs->True
DEBUG: ConfigParser: progress_meter->True
DEBUG: ConfigParser: proxy_host->
DEBUG: ConfigParser: proxy_port->0
DEBUG: ConfigParser: recursive->False
DEBUG: ConfigParser: recv_chunk->4096
DEBUG: ConfigParser: reduced_redundancy->False
DEBUG: ConfigParser: secret_key->JG...37_chars...C
DEBUG: ConfigParser: send_chunk->4096
DEBUG: ConfigParser: simpledb_host->sdb.amazonaws.com
DEBUG: ConfigParser: skip_existing->False
DEBUG: ConfigParser: socket_timeout->300
DEBUG: ConfigParser: urlencoding_mode->normal
DEBUG: ConfigParser: use_https->False
DEBUG: ConfigParser: verbosity->WARNING
DEBUG: Updating Config.Config encoding -> UTF-8
DEBUG: Updating Config.Config follow_symlinks -> False
DEBUG: Updating Config.Config verbosity -> 10
DEBUG: Unicodising 'mb' using UTF-8
DEBUG: Unicodising 's3://kellys_bucket' using UTF-8
DEBUG: Command: mb
DEBUG: SignHeaders: 'PUT\n\n\n\nx-amz-date:Thu, 14 Feb 2013 17:13:02 +0000\n/kellys_bucket/'
DEBUG: CreateRequest: resource[uri]=/
DEBUG: SignHeaders: 'PUT\n\n\n\nx-amz-date:Thu, 14 Feb 2013 17:13:02 +0000\n/kellys_bucket/'
DEBUG: Processing request, please wait...
DEBUG: Unicodising "Bucket name 'kellys_bucket' contains disallowed character '_'. The only supported ones are: lowercase us-ascii letters (a-z), digits (0-9), dot (.) and hyphen (-)." using UTF-8
DEBUG: get_hostname(kellys_bucket): s3.amazonaws.com
DEBUG: Unicodising "Bucket name 'kellys_bucket' contains disallowed character '_'. The only supported ones are: lowercase us-ascii letters (a-z), digits (0-9), dot (.) and hyphen (-)." using UTF-8
DEBUG: format_uri(): /kellys_bucket/
DEBUG: Sending request method_string='PUT', uri='/kellys_bucket/', headers={'content-length': '0', 'Authorization': 'AWS AKIAIEBFVIZM3B6JGT4Q:KV0htmM86gO4RMbI7umaQiF3vGo=', 'x-amz-date': 'Thu, 14 Feb 2013 17:13:02 +0000'}, body=(0 bytes)
DEBUG: Response: {'status': 200, 'headers': {'content-length': '0', 'x-amz-id-2': '1D+5jUXqV9bpcLkYXBwhy9cY3ERDtJygND5CnIlmsn+yHoF4hTGxiB1JziPooIWj', 'server': 'AmazonS3', 'x-amz-request-id': 'E0C9F6B86BABDF42', 'location': '/kellys_bucket', 'date': 'Thu, 14 Feb 2013 17:12:59 GMT'}, 'reason': 'OK', 'data': ''}
Bucket 's3://kellys_bucket/' created
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment