You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Compute total size of all files/folders in directory rather than just directory's size #1242
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
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?
Activity
thegedge commentedon Jan 20, 2020
One question I'd like to first ask: would it make more sense for us to build a
dualternative instead of baking this intols? 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?