{"id":28240571,"url":"https://github.com/ferdinakusumah/s3-sync","last_synced_at":"2026-05-02T10:39:00.037Z","repository":{"id":62591461,"uuid":"482520184","full_name":"FerdinaKusumah/s3-sync","owner":"FerdinaKusumah","description":"Sync s3 from one source to another","archived":false,"fork":false,"pushed_at":"2024-01-07T16:46:49.000Z","size":233,"stargazers_count":0,"open_issues_count":0,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-05-28T10:05:08.226Z","etag":null,"topics":["aws","python-s3","python-sync-s3","s3","s3-sync","s3sync","sync"],"latest_commit_sha":null,"homepage":"","language":"Python","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/FerdinaKusumah.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2022-04-17T12:43:44.000Z","updated_at":"2024-01-08T00:59:50.000Z","dependencies_parsed_at":"2022-11-03T22:51:43.074Z","dependency_job_id":null,"html_url":"https://github.com/FerdinaKusumah/s3-sync","commit_stats":null,"previous_names":["ferdinakusumah/s3-sync"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/FerdinaKusumah/s3-sync","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FerdinaKusumah%2Fs3-sync","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FerdinaKusumah%2Fs3-sync/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FerdinaKusumah%2Fs3-sync/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FerdinaKusumah%2Fs3-sync/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/FerdinaKusumah","download_url":"https://codeload.github.com/FerdinaKusumah/s3-sync/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/FerdinaKusumah%2Fs3-sync/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":259429587,"owners_count":22856078,"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":["aws","python-s3","python-sync-s3","s3","s3-sync","s3sync","sync"],"created_at":"2025-05-19T04:11:28.789Z","updated_at":"2026-05-02T10:39:00.010Z","avatar_url":"https://github.com/FerdinaKusumah.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# s3-sync\n\nSync AWS S3 storage:\n* Sync file from s3 -\u003e s3\n* Sync file from s3 -\u003e local storage\n* Sync file from local storage -\u003e s3\n\n## Installation\n```shell\n  pip install s3sync\n```\n\n## S3 sync s3 to s3\n\n### Read from parameters\n```shell\n    s3-sync --sync-s3-bucket true \\\n        # using 5 concurrent thread default is 2\n        --thread 5 \\\n        --source-bucket-name source-bucket \\\n        --source-region-name ap-southeast-1 \\\n        --source-access-key-id source-access-key \\\n        --source-secret-access source-secret \\\n        \n        --target-bucket-name target-bucket \\\n        --target-region-name ap-southeast-3 \\\n        --target-access-key-id target-access-key \\\n        --target-secret-access target-secret\n```\n\n### Read from json file\n* Create example json file as bellow example, you can name this file whatever\n\n```json\n{\n  \"source\": {\n    \"bucket_name\": \"source-bucket\",\n    \"region_name\": \"ap-southeast-1\",\n    \"access_key_id\": \"source-access-key\",\n    \"secret_access_key\": \"source-secret-key\"\n  },\n  \"target\": {\n    \"bucket_name\": \"target-bucket\",\n    \"region_name\": \"ap-southeast-3\",\n    \"access_key_id\": \"target-access-key\",\n    \"secret_access_key\": \"target-secret-key\"\n  }\n}\n\n```\n\n* Then execute command `s3-sync --sync-s3-bucket true -json /home/ubuntu/config.json --thread 5`\n\n---\n\n## S3 sync s3 to local (*Give absolute path for this*)\n### Read from parameters\n```shell\n    s3-sync --sync-s3-local true \\\n        # using 5 concurrent thread default is 2\n        --thread 5 \\\n        --source-bucket-name source-bucket \\\n        --source-region-name ap-southeast-1 \\\n        --source-access-key-id source-access-key \\\n        --source-secret-access source-secret-key \\\n        --target-local-path /home/ubuntu/sync-s3/my-folder\n```\n\n### Read from json file\n* Create example json file as bellow example, you can name this file whatever\n\n```json\n{\n  \"source\": {\n    \"bucket_name\": \"source-bucket\",\n    \"region_name\": \"ap-southeast-1\",\n    \"access_key_id\": \"source-access-key\",\n    \"secret_access_key\": \"source-secret-key\"\n  },\n  \"target\": {\n    \"path\": \"/home/ubuntu/sync-s3/my-folder\"\n  }\n}\n\n```\n\n* Then execute command `s3-sync --sync-s3-local true -json /home/ubuntu/config.json --thread 5`\n\n---\n\n## S3 sync local to s3\n\n### Read from parameters\n```shell\n    s3-sync --sync-local-s3 true \\\n        # using 5 concurrent thread default is 2\n        --thread 5 \\\n        --source-local-path /home/ubuntu/sync-s3/my-folder \\\n        --target-bucket-name target-bucket \\\n        --target-region-name ap-southeast-3 \\\n        --target-access-key-id target-access-key \\\n        --target-secret-access target-secret-key\n```\n\n### Read from json file\n* Create example json file as bellow example, you can name this file whatever\n\n```json\n{\n  \"source\": {\n    \"path\": \"/home/ubuntu/sync-s3/my-folder\"\n  },\n  \"target\": {\n    \"bucket_name\": \"target-bucket-name\",\n    \"region_name\": \"ap-southeast-3\",\n    \"access_key_id\": \"target-access-key\",\n    \"secret_access_key\": \"target-secret-key\"\n  }\n}\n\n```\n\n* Then execute command `s3-sync --sync-local-s3 true -json /home/ubuntu/config.json --thread 5`\n\n---\n\n## Help \u0026 Bugs\n\n[![contributions welcome](https://img.shields.io/badge/contributions-welcome-blue.svg)](https://github.com/FerdinaKusumah/s3-sync/issues)\n\nIf you are still confused or found a bug,\nplease [open the issue](https://github.com/FerdinaKusumah/s3-sync/issues). All bug reports are appreciated, some\nfeatures have not been tested yet due to lack of free time.\n\n## License\n\n[![license](https://img.shields.io/badge/license-MIT-blue.svg)](https://opensource.org/licenses/MIT)\n\n**s3-sync** released under MIT. See `LICENSE` for more details.\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferdinakusumah%2Fs3-sync","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fferdinakusumah%2Fs3-sync","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fferdinakusumah%2Fs3-sync/lists"}