prune_collection¶
- lsst.daf.butler.cli.cmd.prune_collection = <ButlerCommand prune-collection>¶
- Remove a collection and possibly prune datasets within it. - REPO is the URI or path to an existing data repository root or configuration file. - COLLECTION is the Name of the collection to remove. If this is a tagged or chained collection, datasets within the collection are not modified unless –unstore is passed. If this is a run collection, –purge and –unstore must be passed, and all datasets in it are fully removed from the data repository. - Deprecated since version v24.0: Please consider using remove-collections or remove-runs instead. Will be removed after v24.