DATALAD-EXPORT-ARCHIVE(1)
π datalad export-archive β bestie's guide to yeeting your dataset into a TAR/ZIP β¨
Okay so picture this: it's a General Commands Manual entry, the name is datalad export-archive, and its whole personality is "export the content of a dataset as a TAR/ZIP archive." That's it, that's the vibe. π
β¨ NAME β¨
datalad export-archive β literally exports the content of a dataset as a TAR/ZIP archive. no cap, that's the entire job. ποΈ
πΈ SYNOPSIS πΈ
datalad export-archive [-h] [-d DATASET] [-t {tar|zip}] [-c {gz|bz2|}]
[--missing-content {error|continue|ignore}] [--version] [PATH]
π¦ OPTIONS π¦
okay bestie, read these carefully β some of them change what happens when stuff is missing and that's highkey important π
PATHβ the file name of the generated TAR archive. If you don't hand over a file name, the archive gets made right in the current directory and it's called:datalad_<dataset_uuid>.(tar.*|zip). Wanna drop that file somewhere else? Then give an existing directory as the file name and it'll live there instead. π«Ά Constraints: value must be a string or value must beNONE.-h,--help,--help-npβ show this help message.--help-npforcefully disables the use of a pager for displaying the help message (so no, you won't get trapped inless, you're welcome π ).-d DATASET,--dataset DATASETβ specify the dataset to export. If no dataset is given, an attempt is made to identify the dataset based on the current working directory. β¨ Constraints: Value must be aDatasetor a valid identifier of aDataset(e.g. a path) or value must beNONE.-t {tar|zip},--archivetype {tar|zip}β the type of archive to generate. Constraints: value must be one of ('tar','zip') [Default:'tar']. π-c {gz|bz2|},--compression {gz|bz2|}β compression method to use. Heads up:'bz2'is not supported for ZIP archives π. No compression is used when an empty string is given. Constraints: value must be one of ('gz','bz2','') [Default:'gz'].--missing-content {error|continue|ignore}β okay so by default, any discovered file with missing content will result in an error and the export is aborted. π³ Setting this to'continue'will issue warnings instead of failing on error. The value'ignore'will only inform about problem at the'debug'log level. The latter two can be helpful when generating a TAR archive from a dataset where some file content is not available locally. Constraints: value must be one of ('error','continue','ignore') [Default:'error'].--versionβ show the module and its version which provides the command. slay, version info π
π AUTHORS π
datalad is developed by The DataLad Team and Contributors <team@datalad.org>. π«Ά iconic behavior fr fr.
and that's a wrap, bestie π this page is from datalad export-archive 1.1.5, dated 2025-06-15, and it goes by datalad export-archive(1) β go forth and archive responsibly β¨π
π¦ 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