>I love ZFS, but I suddenly found out last night that I
> have lost the ability tto do a 'du' on a directory to work out if it will
> fit onto a CD or not :-)

I have created a shell script, /usr/local/bin/dirsize :

find $1 -type f -ls | awk '{j += $7} END {print j}'

Usage: dirsize

freebsd-stable@freebsd.org mailing list
To unsubscribe, send any mail to "freebsd-stable-unsubscribe@freebsd.org"