nsbin/suche_grosse_verzeichnisse

13 lines
197 B
Text
Raw Normal View History

2006-07-20 07:54:37 +00:00
#!/bin/sh
# Nico Schottelius, 2004
# find biggest directories
#VDEV="/proc /sys /dev/pts /dev" # this is double
VDEV="/proc /sys"
DIR=/
[ $# -eq 1 ] && DIR=$1
du --max-depth=1 "$DIR" | sort -n