Scroll to navigation

datalad unlock(1) General Commands Manual datalad unlock(1)

NAME

datalad unlock - unlock file(s) of a dataset

SYNOPSIS

datalad unlock [-h] [-d DATASET] [-r] [-R LEVELS] [path ...]

DESCRIPTION

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

-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)
-r, --recursive
if set, recurse into potential subdataset.
-R LEVELS, --recursion-limit LEVELS
limit recursion into subdataset to the given number of levels. Constraints: value must be convertible to type 'int'

AUTHORS

datalad is developed by The DataLad Team and Contributors <team@datalad.org>.
2020-12-15 datalad unlock 0.13.6