Add flag --total-size, to display the total size of directories
sklages opened this issue · 2 comments
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
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.
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).