DATALAD-DOWNLOAD-URL(1)
π datalad download-url π
okay bestie, welcome to the General Commands Manual page for datalad download-url β the command that literally downloads content and serves main-character energy while doing it. π«Άβ¨
π NAME
datalad download-url β download content. Thatβs the whole assignment, and it ate. π
β¨ SYNOPSIS β¨
datalad download-url [-h] [-d PATH] [-O PATH] [-o] [--archive]
[--nosave] [-m MESSAGE] [--version] url [url ...]
π¦ DESCRIPTION π¦
okay so the vibe is this: it allows for a uniform download interface to various supported URL schemes (see command help for details), re-using or asking for authentication details maintained by datalad. No cap, thatβs the description and itβs lowkey iconic. π
πΈ Examples πΈ
Download files from an http and S3 URL:
% datalad download-url http://example.com/file.dat s3://buckβ
et/file2.dat
Download a file to a path and provide a commit message:
% datalad download-url -m 'added a file' -O myfile.dat s3://buckβ
et/file2.dat
Append a trailing slash to the target path to download into a specified directory:
% datalad download-url --path=data/ http://example.com/file.dat
Leave off the trailing slash to download into a regular file:
% datalad download-url --path=data http://example.com/file.dat
π OPTIONS π
urlβ URL(s) to be downloaded. Supported protocols:'ftp','http','https','s3','shub'. Constraints: value must be a string. π-h,--help,--help-npβ show this help message.--help-npforcefully disables the use of a pager for displaying the help message. π«Ά-d PATH,--dataset PATHβ specify the dataset to add files to. If no dataset is given, an attempt is made to identify the dataset based on the current working directory. Use--nosaveto prevent adding files to the dataset. Constraints: Value must be a Dataset or a valid identifier of a Dataset (e.g. a path) or value must be NONE. π-O PATH,--path PATHβ target for download. If the path has a trailing separator, it is treated as a directory, and each specified URL is downloaded under that directory to a base name taken from the URL. Without a trailing separator, the value specifies the name of the downloaded file (file name extensions inferred from the URL may be added to it, if they are not yet present) and only a single URL should be given. In both cases, leading directories will be created if needed. This argument defaults to the current directory. Constraints: value must be a string or value must be NONE. π-o,--overwriteβ flag to overwrite it if target file exists. π₯--archiveβ pass the downloaded files todatalad add-archive-content --delete. π¦--nosaveβ by default all modifications to a dataset are immediately saved. Giving this option will disable this behavior. π-m MESSAGE,--message MESSAGEβ a description of the state or the changes made to a dataset. Constraints: value must be a string or value must be NONE. βοΈ--versionβ show the module and its version which provides the command. π
π AUTHORS π
datalad is developed by The DataLad Team and Contributors <team@datalad.org>. π«Άπ
β¨ And thatβs the tea: this page is from datalad download-url version 1.1.5, dated 2025-06-15, and itβs the datalad download-url(1) manual-page moment. Go download something iconic, bestie β 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