{"id":29019348,"url":"https://github.com/harr1424/cpp-file-sizes","last_synced_at":"2025-09-11T05:15:53.431Z","repository":{"id":128581867,"uuid":"575499271","full_name":"harr1424/CPP-File-Sizes","owner":"harr1424","description":"A simple command line tool to find large files within a specified directory. ","archived":false,"fork":false,"pushed_at":"2023-12-13T16:33:47.000Z","size":51,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-06-26T00:11:27.901Z","etag":null,"topics":["cpp","filesystem"],"latest_commit_sha":null,"homepage":"","language":"C++","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/harr1424.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,"zenodo":null}},"created_at":"2022-12-07T16:44:22.000Z","updated_at":"2023-06-03T01:10:06.000Z","dependencies_parsed_at":null,"dependency_job_id":"8214d486-f9f9-4873-8127-cff51aa75d8a","html_url":"https://github.com/harr1424/CPP-File-Sizes","commit_stats":null,"previous_names":["harr1424/cpp-file-sizes"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/harr1424/CPP-File-Sizes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harr1424%2FCPP-File-Sizes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harr1424%2FCPP-File-Sizes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harr1424%2FCPP-File-Sizes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harr1424%2FCPP-File-Sizes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/harr1424","download_url":"https://codeload.github.com/harr1424/CPP-File-Sizes/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/harr1424%2FCPP-File-Sizes/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":274580447,"owners_count":25311177,"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","status":"online","status_checked_at":"2025-09-11T02:00:13.660Z","response_time":74,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"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":["cpp","filesystem"],"created_at":"2025-06-26T00:10:24.428Z","updated_at":"2025-09-11T05:15:53.399Z","avatar_url":"https://github.com/harr1424.png","language":"C++","funding_links":[],"categories":[],"sub_categories":[],"readme":"# CPP-File-Sizes\nA simple command line tool to find large files within a specified directory. \n\nAfter creating a [similar program using Rust](https://github.com/harr1424/Rust-Files), I was curious to learn how to do the same using C++. \n\nThis program will display the ten largest files in the specified directory, as measured in bytes.\n\n\n```\n./cpp_fs_size ~/google-cloud-sdk \n```\n\n```\n/Users/user/google-cloud-sdk/bin/anthoscli      94968320\n/Users/user/google-cloud-sdk/data/cli/gcloud.json       71649707\n/Users/user/google-cloud-sdk/lib/googlecloudsdk/generated_clients/apis/compute_alpha.json       4728478\n/Users/user/google-cloud-sdk/lib/googlecloudsdk/generated_clients/apis/compute_beta.json        4147516\n/Users/user/google-cloud-sdk/lib/googlecloudsdk/generated_clients/apis/compute/alpha/compute_alpha_messages.py  4034669\n/Users/user/google-cloud-sdk/lib/googlecloudsdk/generated_clients/apis/compute_v1.json  3904144\n/Users/user/google-cloud-sdk/data/cli/gcloud_completions.py     3754693\n/Users/user/google-cloud-sdk/lib/googlecloudsdk/generated_clients/apis/compute/beta/compute_beta_messages.py    3537222\n/Users/user/google-cloud-sdk/lib/googlecloudsdk/generated_clients/apis/compute/v1/__pycache__/compute_v1_messages.cpython-37.pyc        3388318\n/Users/user/google-cloud-sdk/lib/googlecloudsdk/generated_clients/apis/compute/v1/compute_v1_messages.py        3360648\n```\n\nI created the same program using [Go](https://github.com/harr1424/go_filesystem_size), and [C](https://github.com/harr1424/c_filesystem_size). \n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharr1424%2Fcpp-file-sizes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fharr1424%2Fcpp-file-sizes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fharr1424%2Fcpp-file-sizes/lists"}