Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add ability to show directory size (similar to du) #199

Closed
ghost opened this issue Aug 3, 2017 · 3 comments
Closed

Add ability to show directory size (similar to du) #199

ghost opened this issue Aug 3, 2017 · 3 comments

Comments

@ghost
Copy link

ghost commented Aug 3, 2017

I would like to request a feature to be able to list directories with size, similar to 'du'. This would make me use 'exa' over 'ls' permanently. Thank you.

Example:

$ exa -s /   #similar to du --max-depth=1
bin/ 85M
dev/ 4K
etc/ 2.5M
home/ 358M
lib/ 90M
tmp/ 4.2M
@ogham
Copy link
Owner

ogham commented Aug 4, 2017

It's a nice idea — another command-line tool to assimilate! It's being tracked in #91. Unfortunately, I looked at the code recently and it's not set up to handle recursing into a directory twice (once to get the size, and again to get the entries). I'm leaving that issue open, though, so I can get around to it eventually.

@ogham ogham closed this as completed Aug 4, 2017
@mlopezcoria
Copy link

It would be useful to have this information

@eggbean
Copy link

eggbean commented Feb 17, 2024

@mlopezcoria This project is dead and an active fork is here: https://github.com/eza-community/eza

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants