~smlavine/scripts

ref: 3f7ca23dc47aee78b430973cb9c914f34ce2a4d9 scripts/src/download -rwxr-xr-x 390 bytes
3f7ca23dSebastian LaVine src/download: Address SC2068: Double quote array expansions 3 months ago
                                                                                
1
2
3
4
5
6
7
8
9
10
11
12
13
#!/bin/sh
# Copyright (c) 2021 Sebastian LaVine <mail@smlavine.com
# Licensed under the MIT license. See MIT.txt for details.
#
# File:        download
# Description: Downloads the given URLs.
# Options:     -r        Download the URL recursively using wget. User
#                        discretion is advised.
# Arguments:   URLs to download.

for file in "$@"; do
	curl -LO "$file"
done