Deleting All Buildspace Files
The easiest and most complete way to use rwclean is to use the argument ‑‑clean‑buildspace, as shown here:
 
rwclean -b full_buildspace_path --clean-buildspace
The --clean-buildspace argument removes all build artifacts in all modules for each buildspec (*.bsf) file that exists within a buildspace. It does not, however, remove the buildspec.bsf file itself.