sharkdp / diskus

A minimal, fast alternative to 'du -sh'
Apache License 2.0
1.02k stars 35 forks source link

Calculate size for directory names passed as arguments #5

Closed karanrajpal14 closed 6 years ago

karanrajpal14 commented 6 years ago

Hey, it would be great if I could pass directories as args and have dup calculate the size only for those directories. It's definitely easier than doing them separately and adding the results myself. What do you think?

sharkdp commented 6 years ago

Thank you for the feedback.

Please see #3.

sharkdp commented 6 years ago

This is now supported in the latest version. However, it only shows the aggregated result:

▶ diskus src ci 
16.44 KB (16441 bytes)
karanrajpal14 commented 5 years ago

Thank you @sharkdp