this post was submitted on 11 Jul 2024
34 points (100.0% liked)

Linux

5382 readers
26 users here now

A community for everything relating to the linux operating system

Also check out [email protected]

Original icon base courtesy of [email protected] and The GIMP

founded 1 year ago
MODERATORS
top 3 comments
sorted by: hot top controversial new old
[–] [email protected] 7 points 4 months ago

BTRFS support?

[–] FizzyOrange 6 points 4 months ago

I have yet to see one of these that gives any benefit over ncdu, which is amazing. I guess if you need to log the output this makes sense but that's pretty niche.

[–] [email protected] 5 points 4 months ago* (last edited 4 months ago)

I personally use my own script over du itself. It also lists the biggest files and has same options -n and -d as well. :D https://github.com/thingsiplay/biggest It will count hardlinks only once, therefore list only the first found file of a hardlink; even across other directories.

Edit: BTW directory sizes are also output in an instant: biggest /usr/bin and biggest -n 10 /usr/bin/* to list the 10 biggest files in that directory.