mirror of
https://github.com/bootandy/dust.git
synced 2026-06-08 11:29:05 +03:00
[GH-ISSUE #144] -L / --dereference to follow symlinks
#65
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 @RagnarGrootKoerkamp on GitHub (May 19, 2021).
Original GitHub issue: https://github.com/bootandy/dust/issues/144
duhas the-Lor--dereferenceflag to follow symlinks to files and directories and include their actual size.It would be great if
dustcould also support this.So instead of reporting
0Bper symlink, with-Lit would report the file size, or for directories the total size of files in that directory.@bootandy commented on GitHub (Jun 8, 2021):
I deliberately didn't do that. I think that would be weird from a hierarchy point of view. The link isn't 'in' the directory so if you delete it you won't free up the space associated with it. Also how would the sum total space work - would that include the directories inside a sym link, what if it was recursive?