{"id":13558599,"url":"https://github.com/agronick/btrfs-size","last_synced_at":"2026-02-09T09:16:16.375Z","repository":{"id":32728701,"uuid":"36318709","full_name":"agronick/btrfs-size","owner":"agronick","description":"A script that will print out a list of BTRFS subvolumes along with their size in megabytes and their name","archived":false,"fork":false,"pushed_at":"2023-10-18T18:24:30.000Z","size":14,"stargazers_count":53,"open_issues_count":2,"forks_count":11,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-03-28T16:39:04.390Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Shell","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/agronick.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}},"created_at":"2015-05-26T19:26:03.000Z","updated_at":"2024-12-17T11:53:22.000Z","dependencies_parsed_at":"2024-01-19T18:05:29.275Z","dependency_job_id":null,"html_url":"https://github.com/agronick/btrfs-size","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/agronick%2Fbtrfs-size","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agronick%2Fbtrfs-size/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agronick%2Fbtrfs-size/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/agronick%2Fbtrfs-size/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/agronick","download_url":"https://codeload.github.com/agronick/btrfs-size/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":247009640,"owners_count":20868583,"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":[],"created_at":"2024-08-01T12:05:03.295Z","updated_at":"2026-02-09T09:16:16.288Z","avatar_url":"https://github.com/agronick.png","language":"Shell","funding_links":[],"categories":["Shell","others"],"sub_categories":[],"readme":"# BTRFS-Size\nA script that will print out a list of BTRFS subvolumes along with their size in megabytes and their name\n\nYou will need to enable quotas first. Run this command as root: `btrfs quota enable /`\n\nFor more information check out this [blog entry](https://poisonpacket.wordpress.com/2015/05/26/btrfs-snapshot-size-disk-usage/).\n\nTo invoke just run:\n```bash\n./btrfs-size.sh\n```\n\nTo run on a directory outside root run:\n```bash\n./btrfs-size.sh /path\n```\n\nExample output:\n```\nSnapshot / Subvolume                                                            Total Exclusive Data    ID\n==============================================================================================================\n@                                                                                            16.00KB   256\n@/home                                                                                      346.98MB   257\n@/boot/grub2/x86_64-efi                                                                       4.18MB   258\n@/boot/grub2/i386-pc                                                                         16.00KB   259\n@/.snapshots                                                                                640.00KB   260\n@/.snapshots/1/snapshot                                                                      82.39GB   261\n@/.snapshots/391/snapshot                                                                    81.52GB   651\n@/.snapshots/392/snapshot                                                                    81.54GB   652\n@/.snapshots/393/snapshot                                                                    81.65GB   653\n@/.snapshots/394/snapshot                                                                    81.59GB   654\n@/.snapshots/397/snapshot                                                                    81.85GB   657\n@/.snapshots/398/snapshot                                                                    82.22GB   658\n@/.snapshots/399/snapshot                                                                    82.24GB   659\n@/.snapshots/400/snapshot                                                                    82.05GB   660\n@/.snapshots/405/snapshot                                                                    82.04GB   665\n@/.snapshots/406/snapshot                                                                    82.32GB   666\n@/.snapshots/407/snapshot                                                                    82.31GB   667\n@/.snapshots/408/snapshot                                                                    82.31GB   668\n@/.snapshots/409/snapshot                                                                    82.34GB   669\n@/.snapshots/410/snapshot                                                                    82.29GB   670\n@/.snapshots/411/snapshot                                                                    82.32GB   671\n@/.snapshots/412/snapshot                                                                    82.51GB   672\n@/.snapshots/413/snapshot                                                                    82.52GB   673\n@/.snapshots/414/snapshot                                                                    82.38GB   674\n==============================================================================================================\n                                                                Exclusive Total: 14.89GB   \n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagronick%2Fbtrfs-size","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fagronick%2Fbtrfs-size","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fagronick%2Fbtrfs-size/lists"}