#!/bin/sh # This'll do all the UFS filesystem on a FreeBSD host. find $(df -t ufs | (read dummy; cat) | awk ' { print $6 }') -xdev -print0