{"id":18423858,"url":"https://github.com/namankumar/s3scripts","last_synced_at":"2025-04-13T16:16:18.540Z","repository":{"id":139345803,"uuid":"194465396","full_name":"namankumar/s3Scripts","owner":"namankumar","description":"Download files from AWS S3 fast and reliably","archived":false,"fork":false,"pushed_at":"2019-07-02T06:44:08.000Z","size":10,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2025-04-13T16:16:16.074Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"","language":"Python","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/namankumar.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2019-06-30T02:04:58.000Z","updated_at":"2019-07-02T06:44:10.000Z","dependencies_parsed_at":null,"dependency_job_id":"d888b21f-7a0f-4a31-b9ba-460d912201a9","html_url":"https://github.com/namankumar/s3Scripts","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namankumar%2Fs3Scripts","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namankumar%2Fs3Scripts/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namankumar%2Fs3Scripts/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/namankumar%2Fs3Scripts/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/namankumar","download_url":"https://codeload.github.com/namankumar/s3Scripts/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248741194,"owners_count":21154255,"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","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-06T04:38:59.152Z","updated_at":"2025-04-13T16:16:18.509Z","avatar_url":"https://github.com/namankumar.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dump an S3 bucket to local drive fast and reliably\n\nThis code builds on top of the others' work that I found via random Google searches.\n\n## Motivation\n* wanted to parallelize downloading files. Currently availale utility, like s3cmd, download one file at a time\n* wanted a super simple interface to download an entire bucket\n* finer grain control over what / how the code actually does\n\n## How to use this\n* download.py downloads an entire s3 bucket to local drive\n* inputs: bucket name, local path, number of threads\n* the more the number of threads, the more simultanuous files you can download. Three is a good number of threads but you may want to experiment for your internet connection\n* on error, it'll just continue to download rest of the bucket. Directories will throw an error - this is ok and is handled\n* after it finishes, you'll need to account for two edge cases: files not downloaded due to brief connection loss, files partially downloaded\n* first case can be handled by just running the script agin. It will update missing files without overwriting existing files\n* for second case, run checkmd5.py and delete all the files that do not match. Copy paste the list into del.txt and run 'cat del.txt | xargs rm'\n* run download.py again!\n* your entire bucket should be mirrored on your local drive in significantly less time than pretty much any other utility, including s3cmd!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamankumar%2Fs3scripts","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnamankumar%2Fs3scripts","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnamankumar%2Fs3scripts/lists"}