1999-12-14-05:24:06 Eyal Traitel:
A small perl script or C code calling ``unlink'' is probalby your best bet.
Can you publish one here ?
How about
find DIR -depth -print0|perl -0 -lne '-d $_ ? rmdir : unlink'
or for an all-perl solution:
perl -MFile::Find -e 'finddepth(sub{-d $_?rmdir:unlink unless /^..$/},"DIR")'
-Bennett