{"id":20739016,"url":"https://github.com/suyesh/s3_patron","last_synced_at":"2026-05-25T22:36:09.658Z","repository":{"id":56894054,"uuid":"77936664","full_name":"suyesh/s3_patron","owner":"suyesh","description":"Command line utility for s3 written in Ruby","archived":false,"fork":false,"pushed_at":"2017-01-24T15:46:28.000Z","size":24,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-10-09T21:09:50.328Z","etag":null,"topics":["amazon-s3-storage","ruby","ruby-aws","ruby-s3","rubygem","rubygems","s3-ruby-aws"],"latest_commit_sha":null,"homepage":"https://github.com/suyesh/s3_patron","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/suyesh.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":"CODE_OF_CONDUCT.md","threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2017-01-03T17:05:28.000Z","updated_at":"2017-01-29T17:41:20.000Z","dependencies_parsed_at":"2022-08-21T01:20:24.668Z","dependency_job_id":null,"html_url":"https://github.com/suyesh/s3_patron","commit_stats":null,"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"purl":"pkg:github/suyesh/s3_patron","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyesh%2Fs3_patron","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyesh%2Fs3_patron/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyesh%2Fs3_patron/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyesh%2Fs3_patron/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/suyesh","download_url":"https://codeload.github.com/suyesh/s3_patron/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/suyesh%2Fs3_patron/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28010715,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-12-24T02:00:07.193Z","response_time":83,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["amazon-s3-storage","ruby","ruby-aws","ruby-s3","rubygem","rubygems","s3-ruby-aws"],"created_at":"2024-11-17T06:22:31.344Z","updated_at":"2025-12-24T22:18:57.299Z","avatar_url":"https://github.com/suyesh.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# S3-Patron - Command-line utility for S3 written in Ruby\n![S3](https://cdn.foliovision.com/images/edd/2016/05/amazon-s3-icon1.png)\n\nS3-Patron lets you list, upload, download to and from s3 using your terminal\n\n\n## Setup\nMake sure [Ruby](https://www.ruby-lang.org/en/documentation/installation/) is installed.\n\nExecute:\n```\n    $ gem install s3_patron\n```\n\nSet ENV variables\n\n```\n    $ export AWS_ACCESS_KEY_ID=\"YOUR AWS ACCESS KEY\"\n    $ export AWS_SECRET_ACCESS_KEY=\"YOUR AWS SECERET KEY\"\n    $ export AWS_REGION=\"AWS REGION\"\n```\n\n## Usage\n\n```shell\n#List of Commands:\n$ s3patron buckets [REGION(OPTIONAL)]   # List all buckets\n$ s3patron create [BUCKET_NAME] [REGION(OPTIONAL)]  # create bucket\n$ s3patron download [BUCKET_NAME] [OBJECT] [DOWNLOAD_LOCATION(default=CURRENT DIR)] [REGION(default=ENV[AWS_REGION])] # Download object from bucket\n$ s3patron help [COMMAND] # Describe Commands\n$ s3patron list [BUCKET_NAME] [REGION(OPTIONAL)] # List objects inside bucket\n$ s3patron upload [BUCKET_NAME] [FILE] [REGION(OPTIONAL)] # Upload into bucket\n\n#You can also use s3p instead of s3patron\n```\n\n#Examples\n\n##List Buckets\n\n```shell\n#Normal\n$ s3patron buckets\n# Will list all buckets in your s3. By default it lists first 50 items\n\n$ s3patron buckets -a\n# passing -a flag will list all items with no limit.\n\n$ s3patron buckets -l 10 #will show first 10 buckets\n# You can customize number of results by passing -l flag followed by limit\n\n#You can also use s3p instead of s3patron\n```\n\n##Create Bucket\n\n```shell\n#Normal\n$ s3patron create example_bucket\n# Will create a bucket named example_bucket\n\n#Optional\n# If you do not want to use the AWS REGION defined in env variables you can pass region as next argument to create\n$ s3patron create example_bucket us-east-1\n\n#You can also use s3p instead of s3patron\n```\n\n##List Objects inside the bucket\n\n```shell\n#Normal\n$ s3patron list example_bucket\n# Will list all objects inside example_bucket in your s3. By default it lists first 50 items\n\n$ s3patron list example_bucket -a\n# passing -a flag will list all items with no limit.\n\n$ s3patron list example_bucket -l 10 #will show first 10 buckets\n# You can customize number of results by passing -l flag followed by limit\n\n#You can also use s3p instead of s3patron\n```\n\n##Upload into a bucket\n```shell\n#Normal\n$ s3patron upload example_bucket example_file.txt\n# Will upload example_file.txt to example_bucket\n\n#Optional\n# If you do not want to use the AWS REGION defined in env variables you can pass region as next argument\n\n#You can also use s3p instead of s3patron\n```\n\n##Download object from bucket\n```shell\n#Normal\n$ s3patron download example_bucket example_file.txt\n# Will download example_file.txt to current directory\n\n#Optional\n# If you do not want to use the AWS REGION defined in env variables you can pass region as next argument\n\n#You can also use s3p instead of s3patron\n```\n\n#TODO: Set permissions on objects, encryption properties and storage class properties\n\n##Rubygems.org\nHosted at [Rubygems.org](https://rubygems.org/gems/s3_patron)\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](http://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuyesh%2Fs3_patron","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fsuyesh%2Fs3_patron","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fsuyesh%2Fs3_patron/lists"}