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 flag --total-size, to display the total size of directories #715

Open
sklages opened this issue Aug 10, 2020 · 2 comments
Open

Add flag --total-size, to display the total size of directories #715

sklages opened this issue Aug 10, 2020 · 2 comments
Labels
feature request New features to add to exa

Comments

@sklages
Copy link

sklages commented Aug 10, 2020

Would be a "nice-to-have":

This is what it looks like now:

drwxrwxr-x@       - user1 user1 2020-08-09 18:22  cr-count_hg38_Sample415
drwxrwxr-x@       - user1 user1 2020-08-09 17:19  cr-count_hg38_Sample416
drwxrwxr-x@       - user1 user1 2020-08-09 17:54  cr-count_hg38_Sample417
drwxrwxr-x@       - user1 user1 2020-08-09 18:39  cr-count_hg38_Sample418
drwxrwxr-x@       - user1 user1 2020-08-09 18:08  cr-count_hg38_Sample419

This is sometimes helpful (instead of using du):

drwxrwxr-x@ 22.4 GB user1 user1 2020-08-09 18:22  cr-count_hg38_Sample415
drwxrwxr-x@ 18.8 GB user1 user1 2020-08-09 17:19  cr-count_hg38_Sample416
drwxrwxr-x@   25 GB user1 user1 2020-08-09 17:54  cr-count_hg38_Sample417
drwxrwxr-x@ 22.2 GB user1 user1 2020-08-09 18:39  cr-count_hg38_Sample418
drwxrwxr-x@   20 GB user1 user1 2020-08-09 18:08  cr-count_hg38_Sample419
@ariasuni ariasuni added the feature request New features to add to exa label Apr 6, 2021
@ariasuni ariasuni changed the title FR: --total-size Display the total size of directories Add flag --total-size, to display the total size of directories Apr 6, 2021
@mcondren
Copy link

I wanted to check in on this feature request. I tried to do this with ls but then found exa and this is the only missing feature that would make it perfect for me. Maybe I have strange workflows but 90% of the time I use exa or ls I am interested in directory sizes. I end up having to use du with individual folders which I don’t have to do for files. Would be amazing to see it all in one place.

@sklages
Copy link
Author

sklages commented Jan 17, 2022

@mcondren -

I wanted to check in on this feature request. I tried to do this with ls but then found exa and this is the only missing feature that would make it perfect for me. Maybe I have strange workflows but 90% of the time I use exa or ls I am interested in directory sizes. I end up having to use du with individual folders which I don’t have to do for files. Would be amazing to see it all in one place.

Alternatively you can use lsd which already has implemented this feature (and many more).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New features to add to exa
Projects
None yet
Development

No branches or pull requests

3 participants