.TH "datalad download-url" "1" "2021\-02\-04" "datalad download-url 0.14.0" .SH NAME \fBdatalad download-url\fR \- download content .SH SYNOPSIS .nh .HP \fBdatalad download\-url\fR [-h] [-d\~PATH] [-O\~PATH] [-o] [--archive] [--nosave] [-m\~MESSAGE] url [url ...] .hy .SH DESCRIPTION It allows for a uniform download interface to various supported URL schemes, re\-using or asking for authentication details maintained by datalad. .PP .SS Examples .PP Download files from an http and S3 URL:: .PP % datalad download\-url http://example.com/file.dat s3://bucket/file2.dat .PP Download a file to a path and provide a commit message:: .PP % datalad download\-url \-m 'added a file' \-O myfile.dat \ s3://bucket/file2.dat .SH OPTIONS .TP url URL(s) to be downloaded. Constraints: value must be a string .TP \fB-h\fR, \fB--help\fR, \fB--help-np\fR show this help message. --help-np forcefully disables the use of a pager for displaying the help message .TP \fB-d\fR PATH, \fB--dataset\fR 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 --nosave to prevent adding files to the dataset. Constraints: Value must be a Dataset or a valid identifier of a Dataset (e.g. a path) .TP \fB-O\fR \fI\s-1PATH\s0\fR, \fB--path\fR \fI\s-1PATH\s0\fR 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 .TP \fB-o\fR, \fB--overwrite\fR flag to overwrite it if target file exists. .TP \fB--archive\fR pass the downloaded files to datalad add-archive-content --delete. .TP \fB--nosave\fR by default all modifications to a dataset are immediately saved. Giving this option will disable this behavior. .TP \fB-m\fR MESSAGE, \fB--message\fR MESSAGE a description of the state or the changes made to a dataset. Constraints: value must be a string .SH AUTHORS datalad is developed by The DataLad Team and Contributors .