'cm add -R' improvement
This command fails if any of the items already exist. It would be more useful if it just ignored existing items. Typically I would run it on a subdirectory of my workspace.
6
votes
![](https://secure.gravatar.com/avatar/f6fbbdb4c8a1b0c08f5e1ccb5a8106fe?size=40&default=https%3A%2F%2Fassets.uvcdn.com%2Fpkg%2Fadmin%2Ficons%2Fuser_70-6bcf9e08938533adb9bac95c3e487cb2a6d4a32f890ca6fdc82e3072e0ea0368.png)
It has been included on release 5.4.16.704:
Command Line Interface: The cm add and the cm partial add (gluon CLI) commands now accept a new parameter: —ignorefailed. This new parameter allows to skip items that cannot be added without rejecting the whole add operation.
REMARK: If a directory cannot be added, none of its inner items will be added either.
-
psantosl commented
Voted up for it too.