>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 :
#!/bin/sh
find $1 -type f -ls | awk '{j += $7} END {print j}'
Usage: dirsize <path>