mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #269] Feature request: only list files and sort them by size #115
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Originally created by @certik on GitHub (Oct 18, 2022).
Original GitHub issue: https://github.com/bootandy/dust/issues/269
First of all, thank you for this program, it does exactly what I was looking for. In fact, I knew Rust will have this, so I just searched "rust cli better du", and it came up. :)
Here is what would be nice to have as a compiler option. Instead of showing this:
Show this:
Notice that the order changes, now the files are sorted by size no matter where they are in the directory tree. The lines on the left need to be polished, and on the right probably only show one bar, not the fraction of the directory.
@bootandy commented on GitHub (Oct 19, 2022):
Order by size no matter where they are in the directory tree.
So as you say I think we can only draw one bar on the right with a single shade.
On the left I think the tree view would get too messy. However we could side-step the problem by running as 'dust -p' which shows the full path of each file.
yes we can look at adding a flag to do this.
@bootandy commented on GitHub (Jan 29, 2023):
done.
dust -F will work in version 0.8.4