Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Sorts the output of 'du -h'
Perl Shell
branch: master

Fetching latest commit…

Cannot retrieve the latest commit at this time

Failed to load latest commit information.
test
.gitignore
Makefile
README.md
dusort.pl

README.md

Sorts the output of du -h

My typical usage is:

du -sh * | dusort.pl

If you have a new enough set of GNU Coreutils, you can usually do without dusort like so:

du -sh * | gsort --sort=human-numeric

But if like me you're stuck somewhere in between versions, I hope you'll find dusort useful.

Something went wrong with that request. Please try again.