34
submitted 2 years ago by Blaze@lemmy.zip to c/linux@programming.dev
you are viewing a single comment's thread
view the rest of the comments
[-] thingsiplay@beehaw.org 5 points 2 years ago* (last edited 2 years 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.

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

Linux

15060 readers
659 users here now

A community for everything relating to the GNU/Linux operating system (except the memes!)

Also, check out:

Original icon base courtesy of lewing@isc.tamu.edu and The GIMP

founded 3 years ago
MODERATORS