Skip to content

Size of symlinked files rather than size of symlink #158

@wdecoster

Description

@wdecoster

Hi,

Great tool! I found this on https://github.com/ibraheemdev/modern-unix and want to use it on my system.

I am not sure if this is related to #157, but I noticed that dust also counts the file size of the file to which a symlink is pointing, rather than the size of the symlink.
For a directory with symlinks to pretty large files on another filesystem dust reports 22T, while du just returns 46M.
If I am looking in my home directory for things that use disk space I am not so much concerned about things that actually live on the huge storage server.

Is there already a switch to turn this off? Or is this the intended behavior?

Thanks,
Wouter

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions