{"id":20485296,"url":"https://github.com/runnable/s3-tools","last_synced_at":"2026-04-17T22:02:20.850Z","repository":{"id":18001693,"uuid":"21016664","full_name":"Runnable/s3-tools","owner":"Runnable","description":"Command line tools for S3","archived":false,"fork":false,"pushed_at":"2014-09-18T18:57:05.000Z","size":146,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":12,"default_branch":"master","last_synced_at":"2025-03-05T16:27:02.956Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/Runnable.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2014-06-19T21:42:25.000Z","updated_at":"2014-09-18T19:50:04.000Z","dependencies_parsed_at":"2022-09-04T14:41:14.842Z","dependency_job_id":null,"html_url":"https://github.com/Runnable/s3-tools","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"purl":"pkg:github/Runnable/s3-tools","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Runnable%2Fs3-tools","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Runnable%2Fs3-tools/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Runnable%2Fs3-tools/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Runnable%2Fs3-tools/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Runnable","download_url":"https://codeload.github.com/Runnable/s3-tools/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Runnable%2Fs3-tools/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31947760,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-17T17:29:20.459Z","status":"ssl_error","status_checked_at":"2026-04-17T17:28:47.801Z","response_time":62,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":[],"created_at":"2024-11-15T16:29:15.863Z","updated_at":"2026-04-17T22:02:20.828Z","avatar_url":"https://github.com/Runnable.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# s3-tools\n\nA set of tools to interact with buckets from the command line.\n\n## Commands\n\nAvailable commands are as follows:\n\n- `lb`: list buckets\n- `ls`: list objects in a bucket\n- `lsv`: list object versions in a version-enabled bucket\n- `rm`: remove an object (adding a delete marker in a version-enabled bucket)\n- `rmv`: remove an object version, or remove all object versions\n\n## Installing\n\nInstall this using `npm install -g CodeNow/s3-tools`. For this command to work, you need to have `S3TOOLS_AWS_ACCESS_KEY` and `S3TOOLS_AWS_SECRET_KEY` set in your environment with your valid credentials.\n\n## Options\n\nFor `ls`, `lv`, `rm`, and `rmv`, there are options that you can and need to pass along:\n\n- `--bucket BUCKET_NAME`: name of the bucket to work with\n- `--prefix PREFIX`: prefix if you want to specify what subset of objects you want to work with\n- `--delimiter DELIMITER`: delimiter if you want to break the keys down (for example, by 'folders' would use the delimiter `/`)\n- `--key KEY`: key of an individual object to list\n- `--rmv-all`: remove all versions of the object(s)\n\n## Examples\n\n#### List all buckets\n\n```\ns3-tools lb\n```\n\n#### List all objects in a bucket (ALL of them, so careful)\n\n```\ns3-tools ls --bucket BUCKET_NAME\n```\n\n#### List all objects in a folder like method\n\n```\ns3-tools ls --bucket BUCKET_NAME --delimiter /\n```\n\n#### List all versions of objects in a bucket (again, ALL of them)\n\n```\ns3-tools lsv --bucket BUCKET_NAME\n```\n\n#### List all versions of a specific object\n\n```\ns3-tools lsv --bucket BUCKET_NAME --key OBJECT_KEY\n```\n\n#### Remove all the objects in a bucket\n\n```\ns3-tools rm --bucket BUCKET_NAME\n```\n\n#### Remove the object and ALL versions of that key in a bucket\n\n```\ns3-tools rmv --rmv-all --bucket BUCKET_NAME --key OBJECT_KEY\n```\n\n#### Remove the last version of an object key\n\n```\ns3-tools rmv --bucket BUCKET_NAME --key OBJECT_KEY\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunnable%2Fs3-tools","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Frunnable%2Fs3-tools","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Frunnable%2Fs3-tools/lists"}