SH | Diensttagebuch

In the middle of the desert you can say anything you want

17 Nov 2021

211117-2107 added sort by size alias

Added this to ~/.zshrc, since I seem to type it so often to have memorized it:

alias dus="du -hd1 | sort -h"

Returns the sizes of dirs sorted by size:

32K	    ./configs
5,2M	./small_dataset
24M	    ./conversion
630M	./model
792M	.
Nel mezzo del deserto posso dire tutto quello che voglio.