DATALAD-EXTRACT-METADATA(1)
π datalad extract-metadata π
okay bestie, welcome to the datalad extract-metadata page, straight outta the General Commands Manual. this is a datalad command and it's about to run one or more of DataLad's metadata extractors on a dataset or file. yes. that's the whole vibe. let's go π¦
β¨ NAME β¨
datalad extract-metadata β run one or more of DataLad's metadata extractors on a dataset or file. no cap, that's literally what it does π«Ά
π SYNOPSIS π
datalad extract-metadata [-h] --type NAME [-d DATASET] [--version] [FILE
...]
π DESCRIPTION π
so here's the tea: the result(s) are structured like the metadata DataLad would extract during metadata aggregation. there's one result per dataset/file. one. per. dataset. per. file. periodt π
πΈ Examples πΈ
extract metadata with two extractors from a dataset in the current directory and also from all its files:
$ datalad extract-metadata -d . --type frictionless_datapackage --type datalad_core
extract XMP metadata from a single PDF that is not part of any dataset (living its best independent life, main character energy honestly):
$ datalad extract-metadata --type xmp Downloads/freshfromtheweb.pdf
π OPTIONS π
FILEβ path of a file to extract metadata from. constraint: value must be a string. it's giving "just a humble string, but make it metadata" π-h,--help,--help-npβ show this help message.--help-npforcefully disables the use of a pager for displaying the help message. forceful. iconic. no pager, no scrolling drama β¨--type NAMEβ name of a metadata extractor to be executed. bestie, this option can be given more than once. stack those extractors, you're allowed π§-d DATASET,--dataset DATASETβ "Dataset to extract metadata from. If noFILEis given, metadata is extracted from all files of the dataset. Constraints: Value must be aDatasetor a valid identifier of aDataset(e.g. a path). yeah it says "all files", so be ready for a whole crowd of results π--versionβ show the module and its version which provides the command. it's the "who am I and what build am I on" moment π
heads up bestie: if you don't passFILEand you do pass-d DATASET, it's gonna go extract from all files of the dataset. that's not me being dramatic, that's just the option description fr fr.
π AUTHORS π
datalad is developed by The DataLad Team and Contributors <team@datalad.org>.
and that's the whole page!! this one's datalad extract-metadata version 0.15.5, dated 2022-02-10, and it lives at datalad extract-metadata(1) in the manual. slay, go extract some metadata, ily ππ¦
π¦ where this page comes from
- ubuntu jammy: datalad 0.15.5-1 Β· MIT
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms