{"id":13588319,"url":"https://github.com/scriptingosx/diskspace","last_synced_at":"2025-04-16T19:21:23.384Z","repository":{"id":44125016,"uuid":"423889638","full_name":"scriptingosx/diskspace","owner":"scriptingosx","description":"macOS command line tool to return the available disk space on APFS volumes","archived":false,"fork":false,"pushed_at":"2021-11-06T12:10:44.000Z","size":16,"stargazers_count":157,"open_issues_count":1,"forks_count":8,"subscribers_count":9,"default_branch":"main","last_synced_at":"2024-11-06T07:40:36.077Z","etag":null,"topics":["apfs","command-line-tool","disk-space","macadmin","macos"],"latest_commit_sha":null,"homepage":"","language":"Swift","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/scriptingosx.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":"2021-11-02T15:05:01.000Z","updated_at":"2024-11-02T09:24:22.000Z","dependencies_parsed_at":"2022-09-16T18:21:15.197Z","dependency_job_id":null,"html_url":"https://github.com/scriptingosx/diskspace","commit_stats":null,"previous_names":[],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptingosx%2Fdiskspace","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptingosx%2Fdiskspace/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptingosx%2Fdiskspace/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/scriptingosx%2Fdiskspace/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/scriptingosx","download_url":"https://codeload.github.com/scriptingosx/diskspace/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":231232499,"owners_count":18344936,"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":["apfs","command-line-tool","disk-space","macadmin","macos"],"created_at":"2024-08-01T15:06:38.035Z","updated_at":"2024-12-25T11:37:42.303Z","avatar_url":"https://github.com/scriptingosx.png","language":"Swift","readme":"# diskspace\n\n![](https://img.shields.io/github/v/release/scriptingosx/diskspace)\u0026nbsp;![](https://img.shields.io/github/downloads/scriptingosx/diskspace/latest/total)\u0026nbsp;![](https://img.shields.io/badge/macOS-10.14%2B-success)\u0026nbsp;![](https://img.shields.io/github/license/scriptingosx/diskspace)\n\nReturns available disk space\n\nWith the various APFS features the value for free disk space returned from\ntools such as `du` or `df` will not be accurate. This tool uses system\nfunctions to get various measures of available disk space.\n\nThe 'Important' value matches the free disk space value shown in Finder.\n\nYou can get the details from Apple's documentation:\n\nhttps://developer.apple.com/documentation/foundation/urlresourcekey/checking_volume_storage_capacity\n\n```\nUSAGE: diskspace [--human-readable] [--available] [--important] [--opportunistic] [--total] [\u003cvolume-path\u003e]\n\nARGUMENTS:\n  \u003cvolume-path\u003e           path to the volume (default: /)\n\nOPTIONS:\n  -H, --human-readable    Human readable output using unit suffixes\n  -a, --available         Print only the value of the Available Capacity\n  -i, --important         Print only the value of the Important Capacity\n  -o, --opportunistic     Print only the value of the Opportunistic Capacity\n  -t, --total             Print only the value of the Total Capacity\n  --version               Show the version.\n  -h, --help              Show help information.\n  ```","funding_links":[],"categories":["Swift"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptingosx%2Fdiskspace","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fscriptingosx%2Fdiskspace","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fscriptingosx%2Fdiskspace/lists"}