Add RD command to clean up un-needed directory.