big is a terminal utility for finding the largest immediate entries inside a folder.
It scans directory and ranks its direct files and folders by size. You can move items to the trash.
Important
Windows-only. I'm sorry. Please write the code for your OS yourself. You might want to take a look at the _windows.go files.
- Groups entries into views such as folders, common file extensions, and other entries.
- Sorts entries under 1 MiB alphabetically and shows them without a size.
- Use ←/→ to switch between groups.
big [flags] [path]If path is omitted, big scans the current directory.
Flags:
--age <days>: minimum root entry age in whole days;0includes entries of any age. Positive values use the file modified date and folder creation date.
ctrl+c to stop the scan.
up/down: move selectionleft/right: switch viewspgup/pgdown: scroll by pagehome/end: jump to first or last entryenter: open selected entrye: reveal selected entry in the file managerdelete: move selected entry to trashq,esc, orctrl+c: quit
go build ./cmd/big
go test ./...- shed — CLI that moves stale root items from a selected folder into ~\Shed.
Go - If you need a more detailed scan, try ncdu or TreeSize.