Repository navigation
Releases
Releases · anhofmann/icdu
icdu v0.5.0
The first release under the name icdu, with everything since rcdu 0.4.1.
Changed, and needing attention when upgrading
- The program is called icdu now ("interactive ncdu"): binary, crate, repository, release
assets, and the environment variables of the install script (ICDU_VERSION,
ICDU_INSTALL_DIR). Exports from the browser are namedicdu-dump.json. - The self-update command is gone. Upgrade by running the install script again. icdu
never uses the network. - Keys follow ncdu.
Escno longer quits. Export moved frometoE, the largest
files fromttoT, jump to top fromgtoHome.randbact on the directory on
screen.ssorts by size andnby name (sused to switch between the two);nis
still "no" in a question. - One search instead of filter and search.
/searches the whole tree;Tablimits it
to the directory on screen. The oldfkey says where it went. --excludepatterns see the path, as in ncdu: a pattern with/in it has an effect
now, and a wildcard can match across directories. A file given to-Xhas no comment lines
any more, and its lines are not trimmed.- Names sort in natural order (
file2beforefile10).--disable-natsortgives the
old order. - Rows start with ncdu's flag, and directory names with
/. Special files are flagged
@instead of*. - Dumps written by icdu leave out what ncdu leaves out (sizes of zero, the device where it
is the parent's, the inode except for hard links). Readers of the format are not affected. - Building from source needs Rust 1.88 or newer.
- Releases are archives named
icdu-<version>-<target>.tar.gz, with the licence, the README
and the changelog next to the binary, and GitHub keeps an attestation of where each was
built. The bare binaries…-portable-<os>-<arch>are no longer published.
Added
- ncdu's command line. Bundled short flags, values attached or separate,
--option=value,
--, and exit status 1 for a mistake. New flags, all with the counterpart that undoes them:
-0-1-2-q(what to show while scanning),-e(owner, group, mode and time, in
the tree and in dumps),-L(count symlinked files),--exclude-caches,--exclude-kernfs,
--sort,--group-directories-first,--show-hidden,--show-graph,--show-percent,
--show-mtime,--graph-style,--si,--color,--disable-delete,--disable-shell,
--disable-refresh,-rr,--confirm-quit,--confirm-delete,--delete-command,
--disk-usage,--cross-file-system,--ignore-config. - Config files, in ncdu's format. ncdu's own files are read, so an existing setup
applies, and then/etc/icdu.confand~/.config/icdu/config. - ncdu's keys:
nCMsort by name, item count and time, and the key of the active
column reverses the order;tputs directories first;ehides dot files and excluded
entries;gchooses bar and percentage;mshows modification times. - Search: a broad search lists its largest matches and counts all of them; letters match
whatever their case or Unicode spelling;]and[step through the matches of the last
search, and/brings it back. - While the scan runs: the footer says how many directories are left; sizes that are still
growing are marked; a delete or rescan that has to wait says for how much, and that part is
read first; a directory with very many entries shows up in parts. - The shell (
b) usesNCDU_SHELL, thenSHELL, then/bin/sh, and setsNCDU_LEVEL. - The install script takes a version with or without
v, says what it replaced, names a
tool it is missing, installs the ARM build in an x86 shell on Apple Silicon, and verifies the
attestation of the archive when the GitHub CLI is there. - A manual page,
icdu.1, laid out like ncdu's. It is in the release archives. - Debian packages (
.deb) for amd64 and arm64 with every release. Ctrl-Zsuspends icdu, andCtrl-Lredraws the screen.- The info popup shows the reason of a read error, and the number of hard links.
Fixed
- Deleting could remove what the scan had never listed: files created after the scan, the
content of excluded or unreadable directories, other filesystems mounted below.dnow
removes exactly the entries the scan listed, each only if it is still the one that was
scanned. - Browsing an imported dump allowed delete, shell, open and rescan on its paths, which belong
to another machine or another time. All four are off there. - Names that are not valid UTF-8 were acted on under a different name. They are kept as the
bytes they are, on disk and in dumps. - A directory being rescanned or deleted could be acted on a second time, and a rescan could
count sizes twice or let a delete through too early. - A hard-linked file dropped out of every total when the link that was counted was deleted.
- Entries that vanished during the scan were reported as read errors.
- Sizes could overflow and wrap around.
- Letters with
CtrlorAltacted like the plain letters (Ctrl-Eexported). killand a closed terminal window left the terminal in raw mode.- Dumps: a directory nested more than about 125 levels deep could not be imported;
devwas
not inherited from the parent; exclusion reasons and link counts were lost; an export during
a scan looked complete. - Directories with a million entries made every key press take seconds. Rows are sorted once
and only the visible ones are drawn. The largest-files popup, the next-error jump, exports
from the browser and quitting no longer stall on large trees either. - The help popup was cut off on terminals shorter than 28 rows.
Security
- See the first three entries under "Fixed".
- ratatui 0.30 replaces versions of
lruandpastethat have advisories against them
(RUSTSEC-2026-0002, RUSTSEC-2026-0253, RUSTSEC-2024-0436).
rcdu v0.4.1
What's Changed
- Reject path-traversal entry names on JSON import by @anhofmann in #10
- Fetch rcdu update and install.sh binaries from this fork by @anhofmann in #11
- Never follow a symlink when exporting the tree with e by @anhofmann in #12
- Pin GitHub Actions to commit SHAs and let Dependabot bump them by @anhofmann in #13
- Bump version to 0.4.1 by @anhofmann in #14
Full Changelog: v0.4.0...v0.4.1
rcdu v0.4.0
What's Changed
- Add CLAUDE.md with commands and architecture overview by @anhofmann in #5
- Add f key: search the whole tree by name by @anhofmann in #6
- Add c key: toggle a recursive item count column by @anhofmann in #8
- Bump version to 0.4.0 by @anhofmann in #9
New Contributors
- @anhofmann made their first contribution in #5
Full Changelog: https://github.com/anhofmann/rcdu/commits/v0.4.0