datalad uninstall(1) | General Commands Manual | datalad uninstall(1) |
datalad uninstall - uninstall subdatasets
datalad uninstall [-h] [-d DATASET] [-r] [--nocheck] [--if-dirty {fail,save-before,ignore}] [PATH ...]
This command can be used to uninstall any number of installed subdatasets. This command will error if individual files or non-dataset directories are given as input (use the drop or remove command depending on the desired goal), nor will it uninstall top-level datasets (i.e. datasets that are not a subdataset in another dataset; use the remove command for this purpose).
By default, the availability of at least one remote copy for each currently available file in any dataset is verified. As these checks could lead to slow operation (network latencies, etc), they can be disabled.
Any number of paths to process can be given as input. Recursion into subdatasets needs to be explicitly enabled, while recursion into subdirectories within a dataset is done automatically. An optional recursion limit is applied relative to each given input path.
Uninstall a subdataset (undo installation)::
% datalad uninstall <path/to/subds>
Uninstall a subdataset and all potential subdatasets::
% datalad uninstall -r <path/to/subds>
Skip checks that ensure a minimal number of (remote) sources::
% datalad uninstall <path/to/subds> --nocheck
datalad is developed by The DataLad Team and Contributors <team@datalad.org>.
2021-02-04 | datalad uninstall 0.14.0 |