in reply to unlink and -U

i think you want rm -fr instead of rmdir, but you had better have VERY good error checking if you do that :)