{"id":20103813,"url":"https://github.com/ancientlore/sizedir","last_synced_at":"2026-05-15T07:06:41.961Z","repository":{"id":144866936,"uuid":"47032788","full_name":"ancientlore/sizedir","owner":"ancientlore","description":"Simple program to size a directory and all its contents","archived":false,"fork":false,"pushed_at":"2023-02-14T17:28:39.000Z","size":8,"stargazers_count":1,"open_issues_count":0,"forks_count":1,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-01-13T04:42:24.820Z","etag":null,"topics":["disk-space","golang","utility"],"latest_commit_sha":null,"homepage":null,"language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"other","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ancientlore.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":"2015-11-28T17:27:33.000Z","updated_at":"2023-02-04T18:09:41.000Z","dependencies_parsed_at":null,"dependency_job_id":"79e541b1-e761-4039-922d-9fbc3715e4da","html_url":"https://github.com/ancientlore/sizedir","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/ancientlore%2Fsizedir","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancientlore%2Fsizedir/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancientlore%2Fsizedir/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ancientlore%2Fsizedir/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ancientlore","download_url":"https://codeload.github.com/ancientlore/sizedir/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":241543401,"owners_count":19979526,"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":["disk-space","golang","utility"],"created_at":"2024-11-13T17:38:34.860Z","updated_at":"2026-05-15T07:06:41.927Z","avatar_url":"https://github.com/ancientlore.png","language":"Go","funding_links":[],"categories":[],"sub_categories":[],"readme":"# sizedir\nSimple program to size a directory and all its contents\n\n## Usage\n\n    Usage of sizedir:\n      -dot\n            Include dot files\n      -ext\n            Aggregate by extension\n      -files string\n            Sets a file pattern to use (default \"*\")\n      -path string\n            Set the path to check (default \".\")\n\n## Example\n\nDefault path:\n\n    $ sizedir\n    1 folders, 5 files, 2212706 bytes, 2160KB, 2MB, 0GB\n    Scanned in 205.199µs\n\nSpecifying a path:\n\n    $ sizedir -path ~/Documents/\n    3306 folders, 19351 files, 36943765320 bytes, 36077895KB, 35232MB, 34GB\n    Scanned in 1.837590047s\n\nAggregating by extension:\n\n    $ sizedir -path ~/Downloads -ext\n    182 folders, 498 files, 2096761904 bytes, 2047619KB, 2000MB, 2GB\n    Scanned in 17.881438ms\n\n    Extens Files      Bytes      KB   MB GB   Avg Bytes\n    ------ ----- ---------- ------- ---- -- -----------\n               2      20736      20    0  0       10368\n    .JPG      18   72052754   70364   68  0     4002930\n    .TXT       2       1309       1    0  0         654\n    .cfg       4       2068       2    0  0         517\n    .docx      1     781390     763    0  0      781390\n    .gif       1      60260      58    0  0       60260\n    .jpg      37   15375804   15015   14  0      415562\n    .mp3      10  143870206  140498  137  0    14387020\n    .pdf       6    7281693    7111    6  0     1213615\n    .zip      15 1360105660 1328228 1297  1    90673710\n\n(_example output shortened_)\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fancientlore%2Fsizedir","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fancientlore%2Fsizedir","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fancientlore%2Fsizedir/lists"}