View disk space usage and delete unwanted data, fast.
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
120k
items 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.
dua <filename>
will once again provide size information
about that filename.ratatui
from tui
(af2aa61)make fmt
and make ready
; fmt
now only checks (9135c18)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.c
to sort by count of entries in a directory. (45ccb7c)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.
Clippy helped 1 time to make code idiomatic.
device_id
is taken from the final CWD (74e6d42)m
to sort by modification date, ascending and descending. (dd523e3)m
to sort by modification date, ascending and descending. (dd523e3)device_id
is taken from the final CWD (74e6d42)cargo smart-release
fails to see that 2.20.3 is available (f5bd870)itertools
(0c8b6f2)open
(192420e)moonwalk
upgrade.--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.Marked Items
pane to make clearer how to delete items.Clippy helped 1 time to make code idiomatic.
cargo
invocation to help install on more platforms (7ef48ad)Marked Items
pane to make clearer how to delete items. (b61ec97)--format
flag. (d0e85fe)-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.
-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.-x
is applied to traversal as well. (31dacad)jwalk
version for more hang-safety (9bdf26a)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.