How to use curl commnsf to download from url list file efficiently? or Best way to run curl commnsf t

20 Replies, 2231 Views

Spaces in URLs? Ugh. Wrap them in quotes or escape with `\`. For curl commnsf to download from url list file, this bash loop should work:

```
while IFS= read -r url; do
curl -O "$url"
done < urls.txt
```

Slower but safer.

Messages In This Thread



Users browsing this thread: 1 Guest(s)