The -d option in the freebsd du utility is very handy, the linux du has the option, but only with a long name ‘–max-depth’, which is simply too many keypresses. I changed the getopt parse in the standard du to include the -d short option, you can grab the source, the x86 linux executable, or the adjust debian fileutils package all from files/debian/.
Stay up to date
Newsletter