datalad-unlock1
Unlock file(s) of a dataset
Usage
datalad unlock
[-h]
[-d
DATASET]
[-r]
[-R
LEVELS]
[--version]
[path ...]
Overview
Unlock files of a dataset in order to be able to edit the actual content
Examples
Unlock a single file::
% datalad unlock <path/to/file>
Unlock all contents in the dataset::
% datalad unlock .
Options
- path
-
file(s) to unlock. Constraints: value must be a string or value must be NONE
-
-h, --help, --help-np -
show this help message. --help-np forcefully disables the use of a pager for displaying the help message
-
-d DATASET, --dataset DATASET -
"specify the dataset to unlock files in. If no dataset is given, an attempt is made to identify the dataset based on the current working directory. Constraints: Value must be a Dataset or a valid identifier of a Dataset (e.g. a path) or value must be NONE
-
-r, --recursive -
if set, recurse into potential subdatasets.
-
-R LEVELS, --recursion-limit LEVELS -
limit recursion into subdatasets to the given number of levels. Constraints: value must be convertible to type 'int' or value must be NONE
-
--version -
show the module and its version which provides the command
Releases
5 releases since Debian 9 (Stretch); the text changed 4 times.
--dataset since Debian 10 (Buster);
--help since Debian 10 (Buster);
--help-np since Debian 10 (Buster);
--recursion-limit since Debian 10 (Buster);
--recursive since Debian 10 (Buster);
--version since Debian 12 (Bookworm);
-R since Debian 11 (Bullseye);
-d since Debian 10 (Buster);
-h since Debian 10 (Buster);
-r since Debian 10 (Buster).