datalad catalog-remove
Synopsis
datalad catalog-remove [-h] [-c CATALOG] [-i DATASET_ID] [-v DATASET_VERSION] [--reckless] [--version]
Description
Remove metadata from an existing catalog
This will remove metadata corresponding to a specified dataset_id and dataset_version from an existing catalog.
This command has to be called with the reckless flag to ignore a warning message.
Examples
REMOVE a specific metadata record from an existing catalog:
% datalad catalog-remove -c /tmp/my-cat -i efgh -v 5678 --reckless
Options
-h, --help, --help-np
show this help message. --help-np forcefully disables the use of a pager for displaying the help message
-c CATALOG, --catalog CATALOG
Location of the existing catalog.
-i DATASET_ID, --dataset-id DATASET_ID
The unique identifier of the dataset for which metadata or config has been requested.
-v DATASET_VERSION, --dataset-version DATASET_VERSION
The unique version of the dataset for which metadata or config has been requested.
--reckless
Remove the dataset in a potentially unsafe way. A standard catalog-remove call without this flag will provide a warning and do nothing else.
--version
show the module and its version which provides the command