Up to [cvs.NetBSD.org] / pkgsrc / sysutils / dua-cli
Request diff between arbitrary revisions
Keyword substitution: kv
Default branch: MAIN
sysutils/dua-cli: update to 3.0.3 Merely a re-release of 3.0.1 to get macOS builds - for real this time.
sysutils/dua-cli: update to 3.0.1 This release fixes builds for free-desktop/linux, which is not(target_os = "macos"), not(target_os = "ios"), not(target_os = "android")
sysutils/dua-cli: update to 3.0.0
Documentation (BREAKING)
declare the Rust library API experimental
Mark the crate root so all Rust library exports participate in experimental
compatibility checks. Future API breaks require minor releases while patch
compatibility remains checked. Document tilde requirements for library
consumers and retain the stable CLI and dua-core compatibility policies.
The transition removes the previous stable Rust library API promise and
requires dua-cli 3.0.0. Let smart-release apply versions during release.
Bug Fixes (BREAKING)
retain filesystem paths in traversal errors
Just looked at the production code and rubber-stamped the tests.
All that really happens is a new error type that retains more information
RootEvent and Walk previously yielded plain I/O errors, leaving consumers
unable to identify a failing descendant. Return a typed dua_core::Error
with the entry path, or the directory path when enumeration cannot identify
an entry, and retain the original I/O error for kind and OS-code inspection.
Keep sibling failures as separate iterator items. Update native and ordinary
reads, streamed roots, prepared roots, cancellation, and CLI forwarding.
Metadata errors remain attached to their Entry. Document the breaking API
change and conversion back to io::Error.
Regression coverage removes two sibling directories before descent in both
orders and metadata modes; it also checks missing and streamed roots,
original OS errors, source access, and conversion without losing context.
The regression initially failed because io::Error has no path accessor.
sysutils/dua-cli: update to 2.46.0
A bugfix release, and one that should also restore cargo installations, making them function.
New Features
make walk result buffering configurable per worker
Replace the fixed QUEUED_BATCHES_PER_WORKER constant with
Options::queued_batches_per_worker and a chainable builder method. Use
two queued batches per worker by default in both production and tests,
preserving the original bounded buffering behavior.
Consumers that pause to process entries can opt into a larger queue to
keep traversal workers busy, trading memory for less idle time. A value
of zero selects an unbuffered channel. Check the worker-count
multiplication so excessive capacities cannot silently overflow.
Update existing Options literals to inherit the new default. Verify the
actual queue capacity with one and two workers, and exercise larger and
unbuffered queues through the public single-root and multi-root walkers.
Bug Fixes
pass strict workspace Clippy on Rust 1.99
Replace empty-container assertions with equality comparisons and empty
string checks with inequality comparisons. This satisfies Clippy's
assert_is_empty lint while showing actual values when assertions fail.
Locally allow the deprecated fetch_update alias in directory identifier
allocation. Its replacement, try_update, requires Rust 1.95, while
dua-core supports Rust 1.88. Preserve the existing atomic update and
overflow handling without raising the minimum supported Rust version.
preserve flame graphs when export fails
sysutils/dua-cli: update to 2.45.1
Documentation
correct platform defaults in threads help
Bug Fixes
don't fail on sole directory inputs beyond MAX_PATH on Windows
A sole directory input is changed into so its entries can be listed and
reported relative to it, but set_current_dir enforces MAX_PATH on
Windows (os error 206) even though the directory itself can still be
traversed through verbatim paths.
When the change fails, expand the directory into absolute input paths
directly instead of aborting, which makes a single long directory input
work in list, aggregate, stacks and interactive modes alike. Reported
paths are absolute then, consistent with how multiple inputs are already
displayed.
The expanded root is returned to callers so the interactive mode still
knows which directory the inputs belong to, and recorded in the new
WalkOptions::base_dir, which every traversal uses as the working
directory stand-in for ignore-pattern matching. That keeps --ignore-from
patterns matching descendants relative to the expanded root - identical to
what a successful chdir would have produced.
Fixes #410
don't panic on non-UTF-8 filenames when matching ignore patterns
On Windows, NTFS filenames may contain unpaired surrogates that cannot be
represented in UTF-8. IgnorePatterns::is_excluded converted each entry's
relative path with the panicking gix::path::into_bstr, so a single such
name anywhere in a scanned tree aborted the whole process when
--ignore-from was used - in list, aggregate and stacks modes alike, as
well as in clean's entry filtering.
Match on the OS string's encoded bytes instead - OsStr::as_encoded_bytes
yields a self-synchronizing UTF-8 superset (WTF-8 on Windows, the raw bytes
on Unix) which represents lone surrogates losslessly. The glob matcher then
compares bytes, so wildcard patterns that don't spell out the invalid code
unit, like * or *.txt, still match such names instead of silently
letting them through.
Fixes #408
sysutils/dua-cli: updatet to 2.45.0
This release packs an incredibly useful new sub-command called dua clean [--depth N],
to automatically and efficiently find typical build products that you may want to delete,
for Rust and Zig and Node for now.
Also, when deleting entries, the TUI does not block anymore, but shows the decreasing number
of bytes as files are deleted, until the marked entry finally disappers. The TUI can still be
used then, albeit in read-only mode.
Oh, and it also got faster on macOS when there are folders with a lot of files, when it will
switch aways from bulk-reads to multi-threaded stat calls instead, which in my case led to
a 2.5x speedup.
New Features
add Git-aware dua clean and background deletion
This commit was mostly rubber-stamped, but tested for a week or so before that.
By now it's fair to accept that dua is in "tool that needs to work, without
needing to be very familiar with how it works" territory, while I still look
at the code at least but without the requirement to understand it all.
Add dua clean [--depth N] [DIRECTORY]... to discover disposable build
artifacts and caches, size accepted candidates, and offer them in a dedicated
cleanup hub. Keep the TUI responsive during scanning, deletion, and trashing.
Discovery and safety
Search directory entries and types before collecting size metadata. Recognize
Node dependencies, Python caches and virtual environments, Cargo build output,
and Zig caches and output. Require project markers for ambiguous names.
In Git repositories, require expendable ignore matches and reject tracked
contents, conflict stages, gitlinks, and sparse ancestors. Consult HEAD when
the index is absent and reject candidates when validation fails.
Reject nested repositories, case variants of Git markers, unreadable contents,
excluded descendants, and disallowed filesystem boundaries.
Feed discovered roots into dua-core's running walker within the configured
thread budget. Bound active candidates and publish each independently after
sizing and validation; commit hardlink/APFS accounting only on acceptance.
Search without a depth limit by default; --depth bounds discovery. Support
traversal filters and --once, with no snapshot import/export or parent
scanning in clean mode.
Cleanup hub and browsing
Title the hub with its input directories, group siblings and contained
candidates, and keep rows in largest-first order as scan results arrive.
Open groups as scoped views of existing candidate nodes. Reuse ordinary
sorting, glob search, annotations, navigation, and marking within the group;
keep group membership and controls local to the hub.
Group marks target actual candidates. Complete partial marks and toggle fully
marked groups off, preserving the real parent and unrelated contents.
Refresh recorded candidates without widening their deletion scope. Revalidate
whole candidates with their original discovery roots, restore browser/search
positions, and clear stale marks before tree indices are reused.
Background deletion
Run deletion and trash work off the main thread, updating remaining bytes in
the tree, mark pane, and progress message about once per second.
Allow navigation, search, sorting, pane controls, and suspend/resume while
freezing marks and blocking further filesystem actions until the batch ends.
Preserve bounded filesystem concurrency, parallel file removal, and removal
of child directories before parents. Batch tree updates using scanned sizes
without double-counting overlapping marks or completed subtrees.
Keep failed entries with their remaining sizes and errors. On quit, cancel
pending work, apply in-flight results, and join workers. On event-loop failure,
cancel and disconnect events before joining. Trash progress advances when
each native trash call returns.
minimize right-hand panels with ]
A very quick review, but one that showed that the GUI probably shouldn't get more complicated.
Or else it would be batter with more of a layout system than what it has now - manual layout.
Behavior
Add a configurable toggle_right_panes action, defaulting to ], that
minimizes or restores the shared Help and Marked sidebar. Minimized panes
display their translated names vertically with a blank column on each side:
three columns for single-width labels and four for double-width labels.
The main list uses the remaining terminal width.
Keep Help and Marked stacked when both exist, preserving their contents.
Return focus to the main list on collapse and skip minimized panes with
Tab. Restoring with ] keeps focus in the main list; ? restores and
focuses Help without resetting its scroll position.
Keep marks and quit protection intact. Do not dispatch deletion actions
to a minimized Mark pane, and preserve literal brackets in search input.
Retain the minimized preference for the session, including while marking
more entries or temporarily having no right-hand panes. With no panes,
] is a no-op and the sidebar consumes no space.
Advertise toggle-collapse = ] on the bottom border of each unfocused,
expanded Help or Mark pane, using the configured key and translated label.
Hide the hint during search input, when disabled, or when it cannot fit
between the border corners.
add directory_suffix option for directory markers
Keep the ncdu-style leading slash by default and render a trailing slash when
directory_suffix = true in the configuration.
localize the interactive interface
Translate the remaining interactive panes, status messages, progress text,
prompts, errors, and notifications for every supported locale. Detect the
session language once and keep application, command, key, path, unit, Git-Glob,
and mtime names unchanged, while using compact locale-specific action labels
where they fit better.
add German help translation
Add de locale detection and a complete German translation for the interactive
help pane, with documentation.
Regression coverage verifies de_DE.UTF-8 and de selection plus English fallback for de_DE.ISO-8859-1.
add Simplified Chinese help translation
Add zh locale detection and a complete Simplified Chinese translation for the interactive help pane, with documentation.
Regression coverage verifies zh_CN.UTF-8 and zh selection plus English fallback for zh_CN.GB18030.
Validated with: cargo test interactive::widgets::i18n::tests
add Korean help translation
Add Korean locale detection and a complete Korean translation for the interactive help pane. Generalize the existing UTF-8 locale parser so supported language codes share one path, while preserving English fallback for non-UTF-8 locales.\n\nRegression: ko_KR.UTF-8 and ko now select Korean; ko_KR.EUC-KR falls back to English.\n\nValidated with: cargo test interactive::widgets::i18n::tests
repaint screen with Ctrl-L
Interactive sessions had no way to recover when terminal contents were corrupted
because unchanged frames produce no backend writes.
Add a configurable Ctrl-L repaint action. It clears the backend directly
to avoid Terminal::clear's cursor-position query racing the input thread,
invalidates Ratatui's cached frame, and redraws through the normal event path.
configure flamegraph SVG rendering
Add palette, width, minimum-frame-width, title, and inverted-layout flags.
Label generated graphs in disk-usage terms with byte counts and paths.
Validate rendering arguments and exercise them in parser and end-to-end tests.
add stacks and flamegraph commands
Summary
Promote folded output previously at dua aggregate --stacks to the first-class dua stacks command
Add dua flamegraph, backed by Inferno, with temporary opening by default and --output for file-only output.
Keep aggregate --stack as a hidden compatibility path and limit the new commands to relevant traversal flags.
Bug Fixes
prevent deletion during scans
Deleting a directory while a scan was active could leave queued traversal
events referring to removed nodes, aborting dua i with InvalidIndex.
Reject delete and trash actions while a scan is active, retaining marked
entries and showing "Traversal already running" so the user can retry
afterward. Deletion already blocks the event loop, preventing new scans
until it finishes.
keep Traditional Chinese locales in English
Restrict the Simplified Chinese help table to bare zh, zh_CN, zh_SG, and zh_Hans while retaining English fallback for zh_TW, zh_HK, zh_MO, and zh_Hant.
This addresses the post-commit review finding for 7b5e8e4.
Validated with: cargo test interactive::widgets::i18n::tests
Performance
parallelize I/O-bound macOS directory scans
This was an issue I encountered on APFS, a directory created by rustc with
more than 1m files in it. In that case, bulk reading is slow (while efficient),
and it turned out to be better to detect this and switch over to stat-based traversal.
While looking at the filesystem probing code more closely (and how it's not dependent
on CPU performance by differntiating wall time from kernel time), I basically
rubber-stamped all the other code. Too much to look at, too foreign by now.
But it did look cleaned up, so ๐.
The reported target-directory scan left one worker waiting inside
getattrlistbulk at about 15% of a CPU core. Native directory collection also
held an entire parent directory before publishing entries and child jobs.
Probe at most two initial bulk buffers before publishing...
sysutils/dua-cli: update to 2.44.0
2.44.0 (2026-08-30)
This is a massive release that cost my weekend and was motivated by the chance to reduce the amount of open issues to 0. Besides the memory usage being cut in half, one can now keep snapshots of interactive runs, and compare them to older snapshots, or simply view them again with different settings. Finally, it's now possible to configure keyboarding as well. What follows is the more elaborate, generated version of this text, and not my speech.
This release turns traversal results into durable artifacts, shows exactly where disk usage moved, puts every interactive key under user control, and makes large traversals substantially leaner.
dua interactive --export before.dua
# ... later ...
dua interactive --export after.dua
dua diff before.dua after.dua
Snapshots. Completed interactive traversals can now be exported atomically to a deterministic, SHA-256-protected snapshot, with streaming zlib compression by default. Load one with dua interactive --import for a read-only tour, or replay it through dua aggregate --import as a flat list, a depth-limited tree, or folded stacks, with the usual sorting and total controls. Snapshot imports retain root order and traversal metadata; the aggregate renderers replay them with bounded memory. The interactive view still supports navigation, searching, sorting, marking, and opening stored paths that continue to exist, while refresh, trash, and deletion stay safely disabled. Its mark pane drops destructive prompts and colors for snapshots, or whenever both destructive actions are unbound. The dua crate exposes the snapshot, replay, and diff APIs for library users as well.
Diffing. dua diff OLD NEW streams additions, removals, and signed size changes as a compact, colored context tree, then shows the largest additions and removals. Use --directories-only, --prefix, --depth, --format, and --summary-limit to shape the report. Both snapshots are checksum-verified in parallel before their canonical entry streams are merged in bounded memory; whole added or removed directories collapse into a single useful change.
Configurable keybindings. Every interactive action can now be rebound or disabled, and dua config show-default documents all bindings. Pane hints follow the configured keys, while --once understands the same named and modified bindings as well as compact character sequences.
Lower memory use. Traversal state now uses a compact arena-backed tree, shared filename storage, and dense directory IDs; snapshot replay borrows names and reuses decoding buffers. In a local ~/dev scan, /usr/bin/time -lp measured maximum RSS at 268,206,080 bytes versus 524,812,288 bytes for 2.43.1โa 49% reduction.
More interactive polish. Shift+U can extend a completed scan into its parent, the mark pane shows the selected percentage of the root, and Ctrl+Z now suspends and cleanly resumes the TUI on Unix.
New Features
accept configured keys in --once
Keyboard shortcuts are configurable, but --once could only synthesize plain character events. That made named and modified bindings impossible to reproduce in one-shot debugging runs.
Reuse the configuration keybinding parser for --once.
Convert parsed bindings into terminal events.
Preserve compact character sequences such as --once=jko.
add streaming snapshot diff command
Command-line interface
Add dua diff OLD NEW to compare an earlier traversal snapshot with a later one.
Support byte-format selection either globally or after the subcommand, with the configured format as the fallback.
Add --directories-only for aggregate directory changes, --prefix PATH for a component-aware subtree filter, --depth DEPTH for limiting the displayed tree, and --summary-limit COUNT for sizing or hiding the largest additions and removals lists.
Treat the selected root or prefix as the first displayed depth level while leaving summary calculations unbounded.
Reject traversal-only options and input paths because diffing never walks the live filesystem.
Hash both decompressed snapshots in parallel before comparison, then validate their records as they stream and verify each digest again at the end.
Streaming comparison
Refactor snapshot decoding into a resumable decoder and entry iterator that can replay a verified, seekable snapshot without materializing its tree.
Rewind each snapshot for every pass and verify its digest again at the end of replay, detecting files changed after initial validation.
Expose native encoded names and duplicate-sibling ordinals from decoded entries to build deterministic comparison keys on Unix and Windows.
Enforce canonical sibling ordering during decoding and distinguish repeated sibling names without changing the snapshot format.
Merge the two canonical depth-first streams in lock-step on the main thread while a background collector retains only bounded summary entries.
Pair roots in stored order and deliberately avoid cross-root matching or rename detection.
Collapse an entirely added or removed directory to one change and skip its descendants, keeping large subtree changes concise.
Diff output
Report additions, removals, and signed size deltas with +, -, and ~ markers in a compact tree with shared directory context.
Stream the tree first, then report a configurable number of the largest additions and removals (five by default) and the total number of changes.
Compare file sizes in the default mode and aggregate directory sizes in directory-only mode, including file-to-directory type changes.
Preserve full u128 size deltas and use the selected human-readable byte format.
Mark depth-collapsed branches with an ellipsis without hiding their entries from the largest-change summary.
Render terminal additions in green, removals in red, modifications in yellow, and directory context in cyan while keeping redirected output free of escape sequences.
Use native path separators, sanitize control characters that could split output lines, and emit no output for identical snapshots or unmatched prefixes.
add traversal snapshot codec
Snapshot format
Add a deterministic version-1 DUASNAP\0 codec for depth-first traversal forests while preserving input-root order and native Unix and Windows path representations.
Encode parent distances, node flags, names, u128 sizes, nanosecond modification times, and optional entry counts using canonical ULEB128 fields.
Validate path components, tree structure, record limits, integer encodings, timestamps, node counts, checksums, truncation, and trailing data.
Protect decoded snapshot data with SHA-256 and preserve deterministic child ordering.
Support raw snapshots and streaming zlib compression through the existing gix::zlib dependency. Export at level 2 by default, accept levels 1โ9, and use level 0 for raw output.
Verify seekable snapshots once and rewind them for bounded-memory replay without materializing the full tree.
CLI integration
Add dua interactive --export to atomically persist a completed traversal through a neighboring temporary file before replacing the destination.
Add dua interactive --import to load a snapshot into the terminal UI without traversing the filesystem.
Add dua aggregate --import with flat, tree, depth-limited, sorted, total, and folded-stack output modes.
Reject traversal-only paths and options when importing and print snapshot provenance to standard error.
Preserve stored root ordering, sizes, entry counts, modification times, and metadata IO errors.
Replay rendering
Add completed-traversal and replay renderers for aggregate, tree, and folded-stack output.
Keep only roots, displayed levels, or the current stack path in memory as required by each output mode.
Use checked arithmetic for aggregate and exclusive-size calculations and report malformed snapshot totals instead of silently saturating.
Handle the full u128 snapshot size range and sanitize control characters when writing terminal output.
Interactive safety
Treat imported snapshots as read-only while retaining navigation, sorting, searching, marking, and display controls.
Disable entry existence checks, filesystem refreshes, upward scans, gitignore discovery, permanent deletion, and trash operations.
Show the actual snapshot load time until the first user event and replace destructive mark prompts and styling with an explicit read-only safety notice.
Allow opening a stored path when it still exists, without weakening the final read-only guards around trash and permanent deletion.
Expose completed traversal roots in original input order for deterministic export.
make interactive keybindings configurable
Interactive shortcuts were hard-coded, preventing users from avoiding terminal conflicts or adapting the controls to their habits.
Add per-action [keys] arrays whose defaults preserve the existing controls, route every interactive pane and visible shortcut hint through those settings, and expose all bindings as commented config show-default templates. Parse common named keys and modifiers while handling shifted character events consistently across terminal backends.
Regression coverage verifies that overrides replace only their own defaults, the documented template round-trips to the built-in defaults, modified shortcuts remain distinct, and shifted punctuation works on Windows.
traverse beyond the interactive root
Interactive mode stopped at its initial root and required a restart to inspect its parent.
Handle Shift+U by scanning the parent while pruning already represented paths, then reattach the existing subtree at its natural position so node identities and prior work are preserved. The top-level message now advertises the shortcut when expansion is possible.
show marked percentage of total size
Show the marked byte total as a percentage of the top-level root total in the mark pane title.
show gross changes for collapsed diff branches Not reviewed at all, only functional tests.
Depth-limited snapshot diffs now reveal the churn hidden beneath each collapsed directory.
Accumulate gross additions and removals while preserving bounded streaming memory.
Keep directory-only output and largest-change summaries unchanged.
Cover mixed changes, overflow, root boundaries, context ordering, and terminal colors.
Performance
compact traversal storage and snapshot replay Admittedly, this one I waved through, but looked at the new storage for a more tightly packed tree closely. The parts with DirectoryId I just skipped over, as they are the most invasive overall and touch a log of places. Fine with me, everything seems to work, and this is beyond the time I can spend on reviewing, while the value proposition is too high to skip it.
Traversal storage
Replace petgraph with a 64-byte arena-backed tree and compact stable indices.
Store native filenames in one append-only arena and reuse deleted node slots.
Route parents through dense directory IDs and keep glob matches outside the filesystem topology.
Snapshot replay
Lend names from reusable record buffers and reuse sibling-order buffers by depth.
Copy names only for retained entries and sort snapshots directly from arena bytes.
Preserve the V1 encoding, validation, and platform-native path handling.
Bug Fixes
support Ctrl+Z in interactive mode
Interactive mode consumes Ctrl+Z in raw mode, so the shell never receives the usual job-control signal and the TUI cannot be resumed cleanly.
Recognize the key globally on Unix, release crossterm's focus, cursor, raw-mode, and alternate-screen state, raise SIGTSTP, then reclaim and clear the Ratatui terminal after fg resumes the process. A focused regression test covers the Ctrl+Z mapping.
Validated with the repository check, unit, journey, format, and clippy targets; an Expect-driven PTY run also verified stop, fg redraw, and clean shell restoration.
2.43.1 (2026-08-29)
Bug Fixes
stream folded stacks during traversal
Unlimited-depth aggregate --stack retained every traversal node and emitted only after walking, allowing memory to grow with entry count.
Write each exclusive-size line as its parent-first event is integrated and retain only root accounting. Keep depth-limited mode unchanged because it must roll hidden descendants into visible frames.
sysutils/dua-cli: update to 2.43.0
Thanks to our contributors, there are not one, but two (a joke, a human is writing this with fleshy fingers :D) headline features:
1. dua aggregate --depth N shows an indented tree-like view, instead of a flat list
2. dua aggregate --stack | inferno-flamegraph > fire.svg outputs a flame-graph compatible stack listing, for pretty visualisations of the directory. It also works with --depth N.
On the side, on macOS, the bytes output of dua now matches du byte-perfectly, and for the first time it's possible to pipe dua
output into a file without terminal escape sequences (why did this take me so long again?).
New Features
Add dua aggregate --depth N for indented tree output
Bug Fixes
don't output colors when stdout isn't a terminal.
This facilitates piping into a file.
--stats printed the u128 sentinel as the smallest file size
The sentinel reset was guarded by entries_traversed == 0, but an entry
whose metadata cannot be read still counts as traversed while never
contributing a size. Reset when the sentinel is still in place instead.
Apply --ignore-dirs to prepared aggregate roots
Apply --ignore-dirs to paths dua expanded into roots itself
sysutils/dua-cli: update to 2.42.1
v2.42.1
*the same as 2.42, and:
Starting directories with a large amount of files, like 50k, now see a 5x speedup on macOS and Windows as bulk-reading is also done there. Note also that this is still a small absolute difference, 100ms vs 500ms, but a good demonstration of how much large trees with a lot of such directories will benefit by this, as these small absolute improvements accumulate.
v2.42.0
The headline or this release is ~30% better traversal performance on macOS due to the usage of bulk-metadata APIs on supported filesytems.
Bug Fixes
sanitize control characters in marked path output
dua-cli's interactive TUI is built on ratatui, which protects the
paths it renders on screen. But marking a file for deletion and then
quitting prints that file's path directly to the terminal after the
TUI has already released terminal control, bypassing ratatui's
protective rendering entirely. A scanned file's name has no character
restrictions, so a crafted file name can inject terminal escape
sequences into the printed path.
Add sanitize_for_display (src/main.rs), replacing control characters
with the Unicode replacement character, applied at the sole print site
for marked paths.
sysutils/dua-cli: update to 2.41.1 The first release of the directory walk implementation of the dua-cli, to allow its usage in other places as well.
sysutils/dua-cli: update to 2.41.0
2.41.0 (2026-08-03)
There are two major features: 30x and more performance on Windows, and --ignore-from <file> support. This makes this release the best one yet, and I do hope that I can last a week or more until the next one.
New Features
add --ignore-from to exclude paths with gitignore-style patterns Reads gitignore-syntax patterns from one or more files and leaves everything they match out of the report, in both aggregate and interactive mode. This is the equivalent of rsync's --exclude-from and restic's --exclude-file, so the same pattern file can answer "how much of this would actually be backed up?".
Matching is powered by gix-ignore, which is already a dependency, so negation, anchoring, ** and directory-only patterns all behave exactly like Git. Excluded directories are pruned from the walk rather than only hidden, and excluded top-level paths are dropped before the walk so they are absent from the report instead of appearing as empty.
Bug Fixes
propagate background root device errors
Background traversal replaced failed root-device lookups with device ID zero. Readable root metadata could then be rejected as cross-device while the traversal incorrectly retained a successful error count.
Skip roots whose lookup fails and carry their per-root errors in the traversal completion event, restoring the previous statistics and exit status. Keep interleaved overlapping and duplicate roots isolated by including each root path Arc allocation in private directory-map keys while preserving public traversal event types.
propagate aggregate root device errors
A failed root-device lookup was replaced with device ID zero after the parallel traversal rewrite. For a dangling symlink, symlink metadata remained readable but failed the device check, hiding the initialization error and producing a successful exit status.
Count the lookup failure on its root, mark that root complete for ordered output, and omit it from traversal. Flush completed roots after traversal because failed roots emit no completion event.
Keep all roots in the shared parallel traversal pool; when hard links are deduplicated, per-root attribution is scheduling-dependent while the total remains correct, in the name of performance.
2.40.1 (2026-08-01)
Even more performance, up to 15%. That's it now, trying to hit 1 week without a release ;).
Bug Fixes
avoid aggregate progress flicker Track whether aggregate progress has actually been rendered before clearing the terminal line. Keep sorted multi-root progress visible until final output, while clearing before immediate unsorted results, and cover fast roots that previously emitted repeated invisible erase sequences.
Performance
parallelize filesystem traversal
Split completion-order directory entries into small stealable metadata jobs and use idle-aware relay waking with LIFO local queues. Submit all top-level roots to the same worker pool, carrying a root index through descendant jobs and result batches so aggregate and interactive traversal retain per-root accounting without serial barriers.
Also, track pending work per root and emit completion events after all of a root's batches are delivered. Flush the longest completed input-order prefix so --no-sort prints results immediately without serializing the shared worker pool.
2.40.0 (2026-07-31)
The headline feature is 40% more scanning speed in my particular scenario. More cores on Linux should now scale much better as well, so I wouldn't be surprised if it's even faster for you.
New Features
Replace jwalk with a work-stealing directory walker for up to 40% more scan speed
Replace jwalk and Rayon with a crate-local walker built on crossbeam-deque and standard-library threads. Directory reads and metadata collection run on stealable worker queues, while a bounded channel limits completed batches held ahead of the iterator. The walker never follows symlinks and no longer sorts entries because consumers sort their final results where needed.
Provide two delivery modes on the shared implementation: aggregate scans and recursive deletion use completion order for maximum throughput and continuous progress; interactive traversal uses parent-first delivery so ancestor sizes and entry counts grow throughout the scan. Recursive deletion remains parallel through scoped standard-library workers.
Raise the macOS default from three to eight filesystem workers based on warm-cache measurements.
sysutils/dua-cli: update to 2.39.1
v2.39.1
This release is merely to allow attestations to be used, and you should be able to validate the binary origin with:
gh attestation verify ./dua-v2.39.1-aarch64-apple-darwin.tar.gz --repo Byron/dua-cli
v2.39.0
The main feature this release is parallel deletion, both for collecting files to be deleted as well as the deletion itself. On my local disk, it now reaches 144k files/s overall deletion performance.
New Features
delete files in parallel
Recursive deletion now uses the same worker count selected with --threads for
the initial filesystem scan, to accelerate the collection of files to be deleted,
as well as the deletion of files.
When marked directories are deleted, dua now:
walks the selected tree without (following symbolic links as usual)
collects regular files and symbolic links;
removes those entries across the configured workers;
removes directories from deepest to shallowest after their contents are gone on a single thread.
A value of 1 keeps deletion effectively serial. Larger values allow
independent file removals to overlap, which is most useful for large directory
trees or filesystems with concurrent metadata operations.
Bug Fixes
open errors and cleanup/gitignored footer labels
Refactor
use jwalk for parallel, symlink-safe deletion
Replace the hand-rolled stack traversal in delete_directory_recursively
with a jwalk WalkDir (follow_links=false, skip_hidden=false). This is
the same walker the rest of dua uses for scanning, so deletion now
benefits from parallel traversal on multi-core machines.
Behaviour preserved:
Symlinks are removed without following them (remove_file on the link).
Directories are removed deepest-first so each remove_dir sees an
empty directory.
Error counting and byte accounting unchanged.
Adds unit tests covering: single file, nested tree, symlink safety,
and missing-path error reporting.
Test
Make traversal tree tests filesystem-independent
That way, tests will work locally.
sysutils/dua-cli: update to 2.38.0
New Features
notify after interactive work when unfocused
Interactive scans, refreshes, deletion, and trash operations can take long
enough that users leave the terminal, but dua previously had no way to signal
completion without exiting the TUI.
Track terminal focus events and emit sanitized OSC 777 notifications only when
the terminal is unfocused. Include concise entry, byte, duration, and error
statistics, and add a notifications config section whose scan_finished and
delete_finished switches default to true.
sysutils/dua-cli: update to 2.37.0
The hallmark change in this release is support for "precious files", a form
of Git-ignored file that gitoxide doesn't consider expendable.
Chore
remove the git Cargo feature
For simpler code, and nobody needed that anyway. Can be re-introduced
if that changes.
New Features
make cleanup heuristics configurable
Add cleanup_heuristics configuration option for interactive mode,
to allow turning it off mainly as it default to 'on'.
Allow disabling Git support using the configuration file.
gitignore Configuration Option
A new config option, gitignore, now lets users control Git-ignored entry
detection in interactive mode. It is defined as an optional boolean in the
config (Option<bool>), and if left unset it defaults to enabled behavior (same
as previous behavior).
Usage
You can control it in your config file as follows:
gitignore = true
gitignore = false
Motivation
This makes Git-ignored behavior configurable without requiring feature flags or
build-time changes, while preserving existing behavior for users who do not set
the option.
enable precious ignore syntax through Gitoixde
When opening the Git repository for ignored-entry
detection, add a config override so precious ignore syntax works out of the box.
Usage
preciousFile
$preciousFile
disposable
Now preciousFile won't show up in dua for auto-marking,
only disposable will.
sysutils/dua-cli: update to 2.36.0
2.36.0 (2026-06-17)
The headline feature is the optional localization of the interactive help screen, selected from the standard POSIX locale
environment variables (LC_ALL > LC_MESSAGES > LANG). English remains the default; Japanese
(ja) is now available for UTF-8 locales and locales without an explicit codeset, e.g. LANG=ja_JP.UTF-8 dua i.
Bug Fixes
Make message color yellow, instead of red.
It's less alarming, red should only be used to signal 'danger'.
don't show unapplicable global options in config subcommand.
New Features
add config show-default sub-command with option to reset configuration file
Add dua config show-default to print the current built-in default
configuration, making newly introduced configuration keys discoverable without
opening the editor.
Support dua config show-default --overwrite-with-default to overwrite the active configuration
file with the built-in defaults while keeping stdout reserved for the default
TOML content.
allow to set the format in the configuration file.
optional i18n for the interactive help screen
Localize the interactive help pane via the standard POSIX locale
environment variables, honoring the usual precedence
LC_ALL > LC_MESSAGES > LANG, with English as the default. Japanese is
the first added translation. No new dependencies; only the help screen
is translated.
New i18n module: a Language enum, env detection split into a pure
detect() plus a thin from_env(), and an EN/JA translation table.
The help pane resolves the language with Language::from_env() when it
is rendered (only while the pane is open).
Key names, the ^ continuation markers and the symbolic legend stay
untranslated; the block title is localized.
2.35.0 (2026-06-16)
### New Features
- Add gitignore-aware cleanup marking Ignored files and directories are detected from the repositoryโs ignore rules,
including `.gitignore`. Git-ignored entries are shown dimmed in the entries list.
Press `I` to mark all currently visible Git-ignored entries, or `i` to disable Git support.
Ignored directories are handled recursively: if a directory such as `target/` is ignored, entries shown after entering that directory are treated as ignored as well.
Git-ignored entries are separate from built-in cleanup candidates. An entry can be both Git-ignored and a cleanup candidate; in that case, both visual styles apply.
- add `dua i --once[="keys"]` to make it easier to debug interactive mode in the real.
Run interactive mode once, print the final TUI to the main terminal screen, then exit.
```
dua i --once
dua i --once=<keys>
```
`<keys>` is optional. Each character is replayed after traversal finishes:
```
dua i --once=jko
```
Acts like pressing `j`, `k`, then `o`.
Because `--once` does not use the alternate screen, the output stays visible in scrollback.
- <csr-id-cb11cac4f564e14a4739faa68ad92fec0c8fab8b/> add interactive cleanup candidate marking with `X`
Interactive mode can now highlight and select common cleanup directories in the current view with `shift + X`.
When browsing a directory, `dua` detects existing directories with well-known cleanup names, including:
- `target`
- `node_modules`
- `__pycache__`
- `.pytest_cache`
- `.mypy_cache`
- `.ruff_cache`
- `.tox`
- `.venv`
- `venv`
Press `X` to mark all detected cleanup candidates in the current directory.
The marked entries then appear in the mark pane, where they can be reviewed before using the existing delete or trash actions.
Cleanup detection is intentionally conservative. Ambiguous names such as `build` and `dist` are not selected automatically.
- <csr-id-5991f981782ebcb8c02e5b36eb3151aab0e9d40c/> cycle modified time display modes
Users can now enable the modified-time column without changing the current sort:
1. Press `M` while sorting by size, count, or name.
2. The modified-time column is shown.
3. Press `M` again to hide it.
To sort by modified time:
1. Press `m` to sort by mtime descending.
2. Press `m` again to sort by mtime ascending.
3. Press `M` while mtime sorting is active to cycle the mtime strategy:
- normal entry mtime
- newest descendant mtime
- oldest descendant mtime
The selected mtime strategy is preserved when toggling between ascending and descending mtime sort.
sysutils/dua-cli: update to 2.34.0
This upcoming release improves day-to-day usability with a new configuration file.
For users, the main additions are:
- A persistent configuration file for dua with keyboard settings under [keys].
- A new dua config edit command to open the configuration in $EDITOR.
- Automatic creation of the configuration directory/file with sensible defaults when editing for the first time.
Configuration defaults and behavior in this release:
- keys.esc_navigates_back now defaults to true. This is a change from previous versions where it was false implicitly.
You are welcome to contribute more settings as you see fit.
Chore
- Replace simplelog with fern and jiff for timestamped logging
- Note that this changes the log format from
04:41:37 [INFO] to [2026-02-06 05:41:32.146 +01:00 INFO src/main.rs:55]
New Features
- add dua configuration file, with setting for ESC going back only.
Bug Fixes
- outdated link to NixOS package search
- Channel 23.11 was for Nov. 2023.
- This update removes explicitly specifying a channel in the query, defaulting to the current latest stable NixOS nixpkgs channel (at the time of writing 25.11
Refactor
- remove crosstermion and tui-react dependencies
sysutils/dua-cli: update to 2.33.0
New Features
- Add environment variable support for all global arguments
- DUA_THREADS โ --threads
- DUA_FORMAT โ --format
- DUA_APPARENT_SIZE โ --apparent-size
- DUA_COUNT_HARD_LINKS โ --count-hard-links
- DUA_STAY_ON_FILESYSTEM โ --stay-on-filesystem
- DUA_IGNORE_DIRS โ --ignore-dirs
- DUA_LOG_FILE โ --log-file
- Mark shared arguments as global for general accessibility
- Added global = true to all arguments shared between aggregate and interactive subcommands
- Removed duplicate input fields from Interactive and Aggregate subcommands
- Updated main.rs to use opt.input instead of subcommand-specific input
- Global arguments now work with both subcommands and can be specified before or after the subcommand
sysutils/dua-cli: update to 2.32.2 v2.32.2 Bug Fixes - don't let 'q' quit instantly if it's still collecting files. v2.32.1 'q' to quit is now more usable as it will insta-quit if the traversal took less than 10s and if nothing is still marked for deletion. This makes it easy to use in 'quick-view' scenarios. Bug Fixes - instantly quit when no items marked for deletion
sysutils/dua-cli: update to 2.32.0 New Features - Ctrl+f in the glob prompt now toggles the mode from case-insensitive to sensitive.
sysutils/dua-cli: update to 2.31.0 This release prominently adds a prompt that shows before quitting the app. When you pressed esc or q, the status bar will show the prompt first. To really quit, you need to press esc or q again. You can also cancel the quit operation by pressing any key else. Meanwhile, ctrl-c still quits the app directly since it's a combination key. That way, dua will not cause users to accidentally quit the app when they only want to dismiss some other panels. It's especially frustrating if the scan took a long time New Features - prompt before quitting
sysutils/dua-cli: update to 2.30.1 In this release, the size of directories is also taken into consideration, for more realistic sizes similar to what du does. Thanks Clippy helped 1 time to make code idiomatic.
sysutils/dua-cli: update to 2.30.0
New Features
allow sorting by name in interactive mode
Bug Fixes
formatting in src/interactive/app/handlers.rs
on MacOS use only 3 threads by default.
Otherwise, it would get very slow and the difference is enormous.
16 threads for example take 4.1s on a workload, whereas this only takes
550ms with 3 threads.
Style
simplify some statements for readability
sysutils/dua-cli: update to 2.29.4
2.29.4 (2024-11-03)
Bug Fixes
enable "chrono" in trash crate This hopefully adds deletion dates to trashed files.
Other
update actions/upload-artifact to v4 The release workflow failed because actions/upload-artifact@v1 doesn't work anymore.
2.29.3 (2024-11-03)
Chore
upgrade gix-glob and trash
Other
add x-cmd install steps Hi, I've added instructions on how to install dua using x-cmd to the README file.
x-cmd is a toolbox for Posix Shell, offering a lightweight package manager built using shell and awk.
x env use dua
Auto submit new manifest to winget-pkgs
sysutils/dua-cli: update to 2.29.2
2.29.2 (2024-08-10)
A maintenance release without user-facing changes.
Commit Statistics
2 commits contributed to the release.
0 commits were understood as conventional.
2 unique issues were worked on: #253, #254
2.29.1 (2024-08-10)
This is a maintenance release without user-facing changes.
Bug Fixes
- clippy warning
Other
- update version in install instructions
Commit Statistics
16 commits contributed to the release over the course of 126 calendar days.
152 days passed between releases.
2 commits were understood as conventional.
1 unique issue was worked on: #253
Thanks Clippy
Clippy helped 1 time to make code idiomatic.
sysutils/dua-cli: update to 2.29.0 2.29.0 (2024-03-10) New Features - Add scrollbar to the main entries list. That way it's easier to grasp how long the list is, and how fast one is traversing is. Bug Fixes - avoid crashes when the terminal is resized to unusually small sizes. - mark-pane help bar now shows closest to the selected item. Previously this would only work in the first screen, but not when the list was long enough for scrolling.
sysutils/dua-cli: update to 2.28.0
New Features
- add dua i --no-entry-check flag.
With it, in interactive mode, entries will not be checked for presence.
This can avoid laggy behaviour when switching between directories
as lstat calls will not run, which can be slow on some filesystems.
sysutils/dua-cli: update to 2.27.1 Bug Fixes - Explicit refreshes with 'r and 'R' now work with multiple root paths as well. This can happen in cases of dua i root-a root-b for instance.
sysutils/dua-cli: update to 2.27.0
New Features
- Press r or R for refresh
Lower-case r will refresh the currently selected entry, while upper-case R
will refresh the entire displayed directory, and all entries in it.
Further, what was called item is now called entry across the
user-interface.
- show and hide mtime and item count columns with 'M' and 'C' respectively
sysutils/dua-cli: update to 2.26.0
New Features
- responsive and buttery-smooth UI while scanning in interactive mode.
Using dua i the GUI would populate and is fully usable even while the scan
is in progress, which is fantastic when scanning big disks which can take
several minutes.
However, previously is was quite janky as the refresh loop was bound to
receiving entries to process, which sometimes stalled for many seconds.
Now the GUI refresh is uncoupled from receiving traversal entries, and it
will update when the user presses a key or 250ms pass without any input,
causing it to respond immediately.
Thanks so much for contributing, @unixzii!
sysutils/dua-cli: update to 2.25.0 2.25.0 (2024-01-03) Chore - remove obsolete tui-shared feature New Features - add --log-file flag to keep track of some debug info, which includes panics. Previously, when dua i was used, panics would be hard to observe, if at all, as they would print to the alternate screen. Now, when the --log-file dua.log is specified, the panic will be emitted into the log file instead and thus won't be lost anymore. - This may help with debugging in future. Bug Fixes - --ignore-dirs now work as expected. Previously they would need to be specified as relative to the traversal root, which was unintuitive and would lead to ignores not working for many. Even though this was done for performance to avoid canonicalization, we do now perform a more performance version of canonicalization so the overall performance should be acceptable nonetheless. Also note that ignored directories are now logged when using a --log-file. - consistent language across the application and improved style of the Help pane. Generally, what was called entry is now called item, consistently. Other - clarify that (and why) termion isn't supported anymore in README.md This was triggered by crossterm essentially breaking event handling on Windows, which is when I decided to just use the seemingly more powerful crossterm events natively. Overall, this made event handling more complex, but also allows users of crosstermion (the crate that actually dropped termion support) to write even more interactive applications without worrying about the always out-of-date intermediate layer. Interestingly, the crosstermion crate adds some useful features around event handling, but also optimizes build times thanks to termion, which is something that on my current machine I don't notice anymore, so the value of it diminished greatly.
sysutils/dua-cli: update to 2.24.2 2.24.2 (2023-12-26) Bug Fixes - avoid duplicate key input on windows. On Windows, key-states like press/release/repeat are made available separately, which means we should avoid responding to key-releases as it would incorrectly double the actual user inputs. 2.24.1 (2023-12-25) Bug Fixes - keep checking for existance of entries outside of the glob top-level. The glob top-level is used to display all search results which means that there can be a lot of them, which would unnecessarily slow down the search operation. Previously it would never check for the existence of an entry in glob mode, but now it will do so outside of the top-level. 2.24.0 (2023-12-24) This release adds long-awaited globbing support, just hit the / key to get started. You want to find the biggest .git directories? Just type /.git/<enter> and you are done. What about all target directories? Just write target/ to the glob search prompt and it's done. What about all directories ending in *.rs/? Oh, by accident you typed *.rs and now there is a list of a quarter million of entries? No problem, it's near instant even with millions of files to search or hundreds of thousands to display. Note that glob-mode can be exited only by pressing ESC when the glob prompt has focus. Special thanks go to the contributor who made this feature happen, along with many other improvements. Now dua feels refreshed for 2024, and is much more versatile. Happy holidays!
sysutils/dua-cli: update to 2.23.0 New Features - display the total count of entries-to-be-deleted in the mark pane. This allows to better estimate how much work will be needed to perform the deletion. For example, when marking 3 items for deletion, previously one would see 3 items marked, but now one will see all items and sub-items, like 120kitems marked`, which reflects the work that will be done much more precisely. - Add total size to header bar and change to aggregate, human-readable item count. This changes the display from (2034 items) to (2k items, 213 MB), providing an overview of the total amount of storage used along with the total amount of files on a particular hiearchy level. Bug Fixes - single files will not cause IO error Running dua <filename> will once again provide size information about that filename.
sysutils/dua-cli: update to 2.22.0 2.22.0 (2023-12-09) New Features - Press c to sort by count of entries in a directory. That way it's easy to spot places that have a lot of (possibly small) files, which otherwise would remain under the radar when sorting by size.
sysutils/dua-cli: update to 2.21.0 2.21.0 (2023-12-06) New Features - With a single path provided as root, pretend it's the current working dir This makes it seem like the user started the directory walk directly in the given directory, which is more intuitive than the previous approach only showed the given directory as top-level directory. Note that this change only affects invocations like dua <dir> or dua i <dir>. - press m to sort by modification date, ascending and descending. Bug Fixes - slightly faster (0.5ms) startup times of the binary on MacOS and maybe Linux.
sysutils/dua-cli: update to 2.20.2 Bug Fixes - alignment when in interactive mode and -f binary
sysutils/dua-cli: update to 2.20.1 2.20.1 (2023-05-05) Bug Fixes - release definition to use a more recent ubuntu, to get linux binaries. Otherwise there are no linux runners who can satisfy the request, and they hang forever, instead of saying something useful. 2.20.0 (2023-05-05) New Features - TUI now shows performance metrics while scanning and after. This is in preparation for the moonwalk upgrade. - improve CLI help provided with the --format flag. It's now possible to see what possible values are without reading a swath of text. Now the default is shown as well which is more important now that it changes depending on the platform. - use metric byte format only on MacOS. That way, on linux the binary format is used by default which is more common on that platform. Bug Fixes - Improve documentation for Marked Items pane to make clearer how to delete items.
sysutils/dua-cli: update to 2.19.2 2.19.2 (2023-02-23) Bug Fixes - -x is applied to traversal as well. Previously dua would cross filesystems for traversal and simply not yield them, which somewhat defeated the purpose. Now it will avoid traversing into filesystem entries that are on a different filesystem, which should improve its performance visibly whenever multiple filesystems are involved. Other - don't recurse on cross-device filesystems Like it says in the title. Right now, if you pass -x, dua doesn't count files on other devices, but it still enumerates them. However, a good reason to use -x is if you have network mounts that are slow, so this fixes that.
sysutils/dua-cli: update to 2.19.1 Bug Fixes - redraw window while gathering metadata in interactive mode. This fixes a by now long-standing issue with interactive mode only updating when keys are pressed, but not automatically.
sysutils/dua-cli: update to 2.19.0 2.19.0 (2022-12-13) New Features - Remove the handbrake on MacOS which can now deliver the expected performance. Previously it would limit itself to only using 4 threads as it would use a lot of time in user space. This has changed now, and the traversal itself is much more efficient (even though it could definitely be more efficient when comparing to pdu). In any case, counting performance should now greatly improve on M1 MacOS machines. Bug Fixes - resolve stalling issue of previous version. This way, this release is the working version of v2.8.1 .
sysutils/dua-cli: update to 2.18.0 Fixes - Remove a duplicate draw call which would have doubled the time it takes to refresh on user input. This might have been noticable when large amounts of files are displayed. New Features - Automatically resize if the terminal changes in size.
sysutils/dua-cli: update to 2.17.8 2.17.8 (2022-07-05) Bug Fixes remove chrono from the dependency tree. This assures there is no possibility for undefined behaviour to to localtime support used by some of the trash-crate code otherwise.
sysutils/dua-cli: update to 2.17.6 2.17.6 (2022-06-12) -A maintenance release which should make the ctrl + o feature open files without blocking on linux thanks to an upgrade in the open crate which powers this feauture.
sysutils/dua-cli: update to 2.17.5 2.17.5 (2022-05-13) Bug Fixes -update to latest version of trash to improve trashing on linux See their respective release.
sysutils/dua-cli: update to 2.17.3 Bug Fixes -dependency update; upgrade to trash v2.1.1 . The trash upgrade makes sure that trashed items on mount points on freedesktop are actually restorable.
sysutils/dua-cli: update to 2.17.2 A maintenance release that updates all dependencies. Most notably, trash-rs includes a fix for properly moving files into the trash that required parent directories to be created. pkgsrc changes: Allow default features on Linux.
sysutils/dua-cli: update to 2.17.1
Improvements to aggregate progress reporting
Previously, aggregate mode progress reports were handled by an
infinitely-looping thread carrying a 64-bit atomic of the current count,
which it would print periodically.
This resulted in #99 - breaking on platforms without 64-bit atomics,
for which a feature was added to disable it.
It also implied a race condition, where the "Enumerating ..." message
could be printed after results had been gathered but before dua exited.
Additionally, part of the status message could be left on the display if
the first line of a report was too short to cover it.
This commit should resolve these:
The 64-bit atomic counter is replaced with an 8-bit AtomicBool
All printing is controlled from the main thread
The first line is cleared prior to printing a report
The only notable drawback I see with this approach is that progress
reporting can sometimes be delayed, since the display is only evaluated
for update during periods the aggregation loop makes progress. The
practical difference appears relatively minor.
Since this should resolve #99, the aggregate-scan-progress feature is
removed.
Special thanks to @Freaky for the contribution!
BREAKING change for package maintainers
The aggregate-scan-progress feature was removed as it shouldn't be required
anymore.
sysutils/dua-cli: update to 2.15.0 -Make dua less prone to hanging by ignoring certain special directories on linux. -Add --ignore-dirs option, with useful default on linux.
sysutils/dua-cli: update to 2.14.11 v2.14.11 Bug Fixes -cargo install without --locked should work now v2.14.10 Bug Fixes -see if releases work now with a different create-release action We are only interested in the upload_url, not in actually creating a release as smart-release does that already. v2.14.9 Bug Fixes -try to produce release binaries once more With smart-release, this is created automatically. v2.14.8 Changed -auto-config support for Apple M1 Pro and Apple M1 Max
sysutils/dua-cli: update to 2.14.6 v2.14.6 -Support for arrow keys as well as Home & End. The help pane was updated to reflect these changes. -More readable information on how to delete or trash files in the mark pane. v2.14.5 -Fix installation via cargo install dua-cli. Please note that it might break again as it still depends on the unsable clap-3 beta 4. Even when pinning it breakage is possible as its dependencies itself aren't pinned.
sysutils/dua-cli: import package Disk Usage Analyzer, dua is a tool to conveniently learn about the usage of disk space of a given directory. It's parallel by default and will max out your SSD, providing relevant information as fast as possible. Optionally delete superfluous data, and do so more quickly than rm.