inspector changelog
#2.0.0 - 2026-10-30
- Seven new views of the same folder, one at a time: -T a tree of the first levels (-d picks how many), -m a map where every item is a rectangle the size of its share, -y by kind of file and by extension, -g by age, -z by size, -L the biggest files anywhere inside, -i the card of each path
- A single file now gets the card: what it is by its bytes (images with their dimensions, movies and audio with their duration, executables with their architectures, archives with their file counts, databases, PDFs, fonts, disk images, text with its lines, encoding and line ends, a few hundred kinds), both sizes in blocks, every date and how long ago, links, inode, flags, the extended attributes with the quarantine of a download decoded, the volume and, with --hash, the SHA-256
- A folder's card says what it is (Git repository, Go module, application bundle...), what is inside and how deep, the links, empty and hidden items, the newest and oldest change, the five biggest files and the shares by kind and by age
- -j writes any view but the map as JSON
- --min folds the items smaller than a size or a share of the total into one line; the tree folds under 1% of each folder
- A folder that is mostly one kind of file says so in the list: mostly video, mostly code
- The tables of the new views fit the terminal like the list, with a bar against the biggest row
- The test server variable is INSPECTOR_SITE (was LH_SITE), and the installer reads INSPECTOR_PREFIX and INSPECTOR_SITE
- New logo
#1.1.0 - 2026-10-28
- Every line now shows the permissions, owner, group, last change (for a folder, the newest anywhere inside), the files and folders inside, both the data and the space on disk, and the share of the total
- The sizes are no longer coloured: the one that sorts is bold, and a bar against the biggest item carries the colour
- Notes after the name: the biggest file inside each folder, other volume, empty, hard links, broken links, sparse files and, on macOS, hidden, locked, SIP, compressed and iCloud-only files
- On a terminal, a header and only the columns that fit in the window; the notes are shortened to the width
- The totals line counts the items, files and folders and says how long it took, with the free space of the disk below
- New options: -t sorts by the last change, -c by the files inside, -s shows only the size and the name, -b writes exact byte counts
#1.0.1 - 2026-10-28
- The command is now called inspector (it was lh): the Homebrew formula, the install script and the man page follow
#1.0.0 - 2026-10-27
- First version: every folder at its real size, many at once, from the smallest to the biggest, coloured from light blue to dark red, with a progress line while it measures