ZFS Trash
Looking for a simple little shell script to clear out the trash for you since currently Leopard is unable to do so?
Well, don’t blame me if anything goes wrong… cause it works for me. So far…
#!/bin/sh list=`zfs list -o mountpoint -t filesystem | grep -o -E "/(.*)"` for filesystem in $list do rm -rf $filesystem/.Trashes/* rm -rf $filesystem/.Trash/* done