#!/bin/csh -f # cleanup first find /backup/spdata -print -exec rm {} \; # backup cd /spdata find . -print -depth | cpio -pvdm /backup/spdata