Releases: rollecode/lc
Releases · rollecode/lc
Release list
0.1.0
- Add
lc, an ncdu-style disk browser that ranks by how long files have gone unused - Rank by largest-most-unused first: size and age as one number, the bytes untouched since the threshold.
sgives plain size - Take "unused" from the newer of atime and mtime, and warn when the mount is
noatimeorrelatime.Tswitches source - Move the threshold live with
-and+, from 7 days to 10 years - Add
Ffor a flat list of every unused file below the cursor, andfto hide what is still in use - Never follow symlinks, so nothing is counted twice and no loop can trap the walk. Hardlinks count once
- Scan one filesystem by default, unlike ncdu; others show as
>and-Xdescends into them. Overlay and FUSE mounts stay out either way - Walk in parallel, capped at six threads because the work is syscall-bound:
/in 1.9s for 3.27M entries - Abort a scan on
qin 0.15s, checked per entry rather than per directory - Match
dubyte for byte on disk usage. Apparent size counts directory inodes like ncdu, so it sits abovedu -sb - Confirm every delete and default to no.
spacemarks a batch forD,-rdisables deleting - Colour by age, grey to neon magenta, every colour above 4.5:1 contrast. Truecolor, 256 colours or none
- Keep the tree in a flat arena, so re-ranking a million nodes after a threshold change is one linear pass
- Carry over the rest of ncdu: sorting, graphs, item counts, apparent size, excludes,
CACHEDIR.TAG, export and import, shell-out, rescan