{"id":24349233,"url":"https://github.com/matveynator/find-large-dirs","last_synced_at":"2025-10-16T16:02:20.506Z","repository":{"id":271604914,"uuid":"913936627","full_name":"matveynator/find-large-dirs","owner":"matveynator","description":"A simple tool to scan directories, find the largest ones, and analyze disk usage with file type statistics. Ideal for storage optimization and backup monitoring.","archived":false,"fork":false,"pushed_at":"2025-01-12T17:10:24.000Z","size":1727,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-01-18T12:46:30.565Z","etag":null,"topics":["diskusage","diskutil","find","large-files"],"latest_commit_sha":null,"homepage":"","language":"Go","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"bsl-1.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/matveynator.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":"2025-01-08T16:28:14.000Z","updated_at":"2025-01-12T17:37:07.000Z","dependencies_parsed_at":"2025-01-08T19:35:45.709Z","dependency_job_id":"570bcc10-253c-4a96-9261-f5ca873cfe8a","html_url":"https://github.com/matveynator/find-large-dirs","commit_stats":null,"previous_names":["matveynator/find-large-dirs"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matveynator%2Ffind-large-dirs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matveynator%2Ffind-large-dirs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matveynator%2Ffind-large-dirs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/matveynator%2Ffind-large-dirs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/matveynator","download_url":"https://codeload.github.com/matveynator/find-large-dirs/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243147103,"owners_count":20243746,"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":["diskusage","diskutil","find","large-files"],"created_at":"2025-01-18T12:36:12.554Z","updated_at":"2025-10-16T16:02:20.454Z","avatar_url":"https://github.com/matveynator.png","language":"Go","readme":"# **`find-large-dirs` – покажи, где живёт жир** 🐘\n\nУтилита показывает, какие папки занимают больше всего места, в каком виде там данные (архивы, базы, код, видео и т.п.), и как папки разрастаются со временем.\n\n---\n\n## 🚀 Установка (одной строкой)\n\nПросто скопируйте нужную строку и вставьте в терминал:\n\n### **Linux (AMD64)**\n\n```bash\nsudo curl -L https://github.com/matveynator/find-large-dirs/releases/latest/download/find-large-dirs_linux_amd64 -o /usr/local/bin/find-large-dirs; sudo chmod +x /usr/local/bin/find-large-dirs; find-large-dirs --version;\n```\n\n### **Linux (ARM64)**\n\n```bash\nsudo curl -L https://github.com/matveynator/find-large-dirs/releases/latest/download/find-large-dirs_linux_arm64 -o /usr/local/bin/find-large-dirs; sudo chmod +x /usr/local/bin/find-large-dirs; find-large-dirs --version;\n```\n\n### **macOS (Intel)**\n\n```bash\nsudo curl -L https://github.com/matveynator/find-large-dirs/releases/latest/download/find-large-dirs_darwin_amd64 -o /usr/local/bin/find-large-dirs; sudo chmod +x /usr/local/bin/find-large-dirs; find-large-dirs --version;\n```\n\n### **macOS (Apple Silicon)**\n\n```bash\nsudo curl -L https://github.com/matveynator/find-large-dirs/releases/latest/download/find-large-dirs_darwin_arm64 -o /usr/local/bin/find-large-dirs; sudo chmod +x /usr/local/bin/find-large-dirs; find-large-dirs --version;\n```\n\n### **FreeBSD (AMD64)**\n\n```bash\nsudo fetch -o /usr/local/bin/find-large-dirs https://github.com/matveynator/find-large-dirs/releases/latest/download/find-large-dirs_freebsd_amd64 \u0026\u0026 chmod +x /usr/local/bin/find-large-dirs \u0026\u0026 find-large-dirs --version;\n```\n\n### **Windows (PowerShell)**\n\n```powershell\nInvoke-WebRequest https://github.com/matveynator/find-large-dirs/releases/latest/download/find-large-dirs_windows_amd64.exe -OutFile $env:ProgramFiles\\\\find-large-dirs.exe\n\u0026 $env:ProgramFiles\\\\find-large-dirs.exe --version\n```\n\n📦 Для всех остальных платформ — [см. список релизов](https://github.com/matveynator/find-large-dirs/releases/latest)\n\n---\n\n## 🧪 Пример запуска\n\n```bash\n$ find-large-dirs /data\nScanning '/data'…\n\nTop 10 directories (no one reached 200.00 GB):\n\n/data                       75.2 GB   (148 231 files)\n   mix: 45 % Archive, 30 % Other, 15 % Video, 10 % Code\n   top sub-folders:\n      • backups              40.0 %   30.1 GB\n      • media                26.5 %   19.9 GB\n      • projects             18.8 %   14.1 GB\n\n/data/backups               30.1 GB   (5 631 files)\n   ↳ dominant: nightlies (28.9 GB, 96 %)\n\n...\n```\n\n📌 За секунды видно: всё сожрали ночные бэкапы. Можно навести порядок.\n\n---\n\n## 🔧 Часто используемые параметры\n\n| Параметр              | Описание                                      | Пример                                 |\n| --------------------- | --------------------------------------------- | -------------------------------------- |\n| `--top 25`            | Показать 25 крупнейших директорий             | `find-large-dirs --top 25 /`           |\n| `--min-size 300G`     | «Жирными» считаются только папки ≥ 300 GB     | `find-large-dirs --min-size 300G /srv` |\n| `--exclude /tmp`      | Исключить путь                                | `--exclude /tmp --exclude /mnt/slow`   |\n| `--slow-threshold 3s` | Пометить как «slow» папки, скан которых \u003e 3 с |                                        |\n| `--json`              | Вывести результат в JSON (для автоматизации)  |                                        |\n| `--version`           | Показать текущую версию                       |                                        |\n\n---\n\n🎯 Подходит системным администраторам, DevOps-инженерам и обычным пользователям.\n⏱ Быстро, просто, без установки зависимостей.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatveynator%2Ffind-large-dirs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmatveynator%2Ffind-large-dirs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmatveynator%2Ffind-large-dirs/lists"}