{"id":18402698,"url":"https://github.com/jasei/storage-s3-migrator","last_synced_at":"2026-04-24T20:31:47.029Z","repository":{"id":74376029,"uuid":"127457876","full_name":"JaSei/storage-s3-migrator","owner":"JaSei","description":"Fast and correct migrator from hash storage (3level - bytes dir tree) to S3 API storage","archived":false,"fork":false,"pushed_at":"2018-06-26T16:15:55.000Z","size":20,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-06-27T18:12:04.046Z","etag":null,"topics":["golang","tool"],"latest_commit_sha":null,"homepage":null,"language":"Go","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/JaSei.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2018-03-30T18:00:51.000Z","updated_at":"2018-06-26T16:15:56.000Z","dependencies_parsed_at":null,"dependency_job_id":"684e55e1-d542-4f94-9448-ea0fc9cbe281","html_url":"https://github.com/JaSei/storage-s3-migrator","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/JaSei/storage-s3-migrator","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaSei%2Fstorage-s3-migrator","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaSei%2Fstorage-s3-migrator/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaSei%2Fstorage-s3-migrator/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaSei%2Fstorage-s3-migrator/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/JaSei","download_url":"https://codeload.github.com/JaSei/storage-s3-migrator/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/JaSei%2Fstorage-s3-migrator/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32239464,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-24T13:21:15.438Z","status":"ssl_error","status_checked_at":"2026-04-24T13:21:15.005Z","response_time":64,"last_error":"SSL_read: 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":["golang","tool"],"created_at":"2024-11-06T02:43:12.554Z","updated_at":"2026-04-24T20:31:47.013Z","avatar_url":"https://github.com/JaSei.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# storage-s3-migrator\n\nFast and correct migrator from hash storage (3level - bytes dir tree) to S3 API storage\n\n## input directory\n\n3 level bytes tree extracted from first 3 bytes\nsha256 named files (`.dat` extension are ignored)\n\n```\n/mnt/test/\n├── 00\n│   ├── 00\n│   │   ├── 00\n│   │   │   ├── 00000002B02F565AF273B13DA8770D5E2803C1A8D8239DA29472D59857462CA9.dat\n│   │   │   ├── 00000048B1C9E60C14A6619F0292DEA96DF7F10C11CFA9AE28693219C0AE844B.dat\n│   │   │   ├── 0000004DDD7930A75AEEE9FE98F1EECB2BC59EB840DE20AC574507644D2A0329.dat\n│   │   │   ├── 000000552925D3F0948474DD0FB116FC1BEF526A45FA6E171503C52B8CFCB732.dat\n│   │   │   ├── 0000007242D7A5F1A36BFC565FA13990AFCCAD75FC28C7B6F05EAD95173478F0.dat\n│   │   │   ├── 0000009E35110AE7CB267846EC7290AB2EE4ACCDF19C278071C6C4BAEB2C52B9.dat\n```\n\n## output\n\n* STDOUT output is progressbar\n* STDERR output is log (I recommend redirect log output to file e.g. `2\u003e migration.log`)\n\n## concurrency\n\nfirst byte directory are sharded by concurrent option\n\neach shard are concurrently uploaded\n\ndirectory are uploaded randomly for maximal utilization \n\n## help\n\n```\nusage: storage-s3-migrator --endpoint=ENDPOINT --namespace=NAMESPACE --user=USER --pass=PASS [\u003cflags\u003e] \u003cdir\u003e\n\nFlags:\n  --help                 Show context-sensitive help (also try --help-long and --help-man).\n  --concurrent=8         count of concurent uploader\n  --endpoint=ENDPOINT    endpoint hostname\n  --namespace=NAMESPACE  endpoint namespace\n  --user=USER            username\n  --pass=PASS            password\n  --custom-last-modifed  set x-amz-meta-Last-Modified header with last modification time of source file\n\nArgs:\n  \u003cdir\u003e  source directory\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasei%2Fstorage-s3-migrator","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjasei%2Fstorage-s3-migrator","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjasei%2Fstorage-s3-migrator/lists"}