Feature #21370

mrb 'clear local products' feature

Added by Wesley Ketchum over 1 year ago. Updated over 1 year ago.

Target version:
Start date:
Due date:
% Done:


Estimated time:
8.00 h
Spent time:


We are often in a situation where we would like to keep around an inactive mrb development area (particularly the srcs area, but also the localProducts area setup is useful to know what version was used), but clear the build and installed products in order to save storage space (then later, if needed, we can just do a rebuild and install).

mrb zap is great for clearing out the build area, but it would be great to have a script that will remove all the installed products while leaving the local products setup script and overall directory intact.

If there was also an overall "mrb cleanup" command (or the like) that would do both mrb z and this new mrb 'clear local products' command, that would probably also be very helpful.

Thanks! Please ask for feedback if needed.


#1 Updated by Kyle Knoepfel over 1 year ago

  • Status changed from New to Assigned
  • Assignee set to Lynn Garren
  • Estimated time set to 8.00 h

We think this is a great idea.

#2 Updated by Lynn Garren over 1 year ago

  • % Done changed from 0 to 100

Two new commands are now available in mrb v2_00_01

  • mrb zapInstall (zi)
    • remove all products from the localProductsXXX directory
    • symbolic links that may point to products elsewhere will be left in place
  • mrb zapDist (zd)
    • run both mrb zi and mrb z

#3 Updated by Lynn Garren over 1 year ago

  • Status changed from Assigned to Resolved

This is now available in mrb v2_00_01.

#4 Updated by Lynn Garren over 1 year ago

  • Status changed from Resolved to Closed

Also available in: Atom PDF