mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #441] Improve output when used with a wildcard expression #194
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 @Debilski on GitHub (Oct 1, 2024).
Original GitHub issue: https://github.com/bootandy/dust/issues/441
When doing something like
dust /home/*/.local/share/Trashthe output looks like this, which is somewhat suboptimal:I think it would be nice to have an option that included the ‘minimal path difference’ in the output, ie. in this case the name of the home folder.
I have seen the
-p/--full-pathsoption but I would only need to have it in the first level. Even better, if it was just shown asTrash (user123)in the output once.@bootandy commented on GitHub (Oct 18, 2024):
Oh I see, you are looking at different user's Trash directories. Hmm, that's a tricky one, I'll think about this.
@bootandy commented on GitHub (Oct 18, 2024):
Trash (user123)I suppose it would be possible to generate the output if we did a full diff on the path of the duplicate folders.
Interesting.