DATALAD-CLEAN(1)
β¨ NAME β¨
hey bestie π welcome to the General Commands Manual page for datalad clean(1) β yes, we're in cleanup era, and it's honestly iconic. π
datalad clean - clean up after DataLad (possible temporary files etc.)
π SYNOPSIS π
datalad clean [-h] [-d DATASET] [--what [WHAT ...]] [--dry-run] [-r]
[-R LEVELS] [--version]
π¦ DESCRIPTION π¦
okay so datalad clean is the cleanup bestie: it removes temporary files and directories left behind by DataLad and git-annex in a dataset. that's literally the assignment. π§Ήβ¨
π Examples π
Clean all known temporary locations of a dataset:
% datalad clean
Report on all existing temporary locations of a dataset:
% datalad clean --dry-run
Clean all known temporary locations of a dataset and all its subdatasets:
% datalad clean -r
Clean only the archive extraction caches of a dataset and all its subdatasets:
% datalad clean --what cached-archives -r
Report on existing annex transfer files of a dataset and all its subdatasets:
% datalad clean --what annex-transfer -r --dry-run
π OPTIONS π
-h,--help,--help-npβ show this help message.--help-npforcefully disables the use of a pager for displaying the help message.-d DATASET,--dataset DATASETβ specify the dataset to perform the clean operation on. If no dataset is given, an attempt is made to identify the dataset in 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.--what [WHAT ...]β What to clean. If none specified--all known targets are considered. Constraints: value must be one of('cached-archives', 'annex-tmp', 'annex-transfer', 'search-index')or value must be NONE.--dry-runβ Report on cleanable locations - not actually cleaning up anything.-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.
π«Ά tiny vibe check: --dry-run is the report-only option, bestie β it does not actually clean anything. that's literally the line above. π
π AUTHORS π
datalad is developed by The DataLad Team and Contributors <team@datal-ad.org>.
and that's the whole page, bestie π«Ά β this source/version footer is datalad clean 1.1.5, dated 2025-06-15, and it's the datalad clean(1) page. periodt π
β¨
π¦ where this page comes from
- debian trixie: datalad 1.1.5-2.1 Β· MIT
- ubuntu resolute: datalad 1.1.5-2.1 Β· MIT
- ubuntu stonking: datalad 1.1.5-2.1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms