Success.  I've got an overridden ```rm()``` that will use ```cleandir ()``` only for directories when -rf or -fr is passed on the command line.