Skip to content

Compute total size of all files/folders in directory rather than just directory's size #1242

Closed

Description

@Amanita-muscaria

Is your feature request related to a problem? Please describe.
Nope, just a feature

Describe the solution you'd like
When ls is given a specific flag, compute the total directory size. When the flag is not set, show the dash as it does currently

Describe alternatives you've considered
Just not doing this

Activity

  1. thegedge commented on Jan 20, 2020

    @thegedge
    Contributor

    One question I'd like to first ask: would it make more sense for us to build a du alternative instead of baking this into ls? More generally, should we take the UNIX philosophy with our tools and try to keep their complexity down by making them do one thing well?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions