| datalad clean(1) | General Commands Manual | datalad clean(1) |
datalad clean - clean up after DataLad (possible temporary files etc.)
datalad clean [-h] [-d DATASET] [--what [WHAT ...]] [--dry-run] [-r] [-R LEVELS] [--version]
Removes temporary files and directories left behind by DataLad and git-annex in a dataset.
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
datalad is developed by The DataLad Team and Contributors <team@datalad.org>.
| 2025-06-15 | datalad clean 1.1.5 |