rm -Rd *
-d
(QNX Neutrino extension) If the -R option is specified, remove the files but leave the directory tree intact (i.e. no rmdir is performed).
http://www.qnx.com/developers/docs/7.1/index.html#com.qnx.doc.neutrino.utilities/topic/r/rm.html