If you’re on macOS or Linux, this one-liner works like a charm:
```bash
cat urls.txt | xargs -I % curl -O %
```
The `-I %` lets you handle weird chars in URLs better.
Also, if you wanna log errors, toss in `-f` to fail silently and redirect errors to a file. Handy for big batches.
```bash
cat urls.txt | xargs -I % curl -O %
```
The `-I %` lets you handle weird chars in URLs better.
Also, if you wanna log errors, toss in `-f` to fail silently and redirect errors to a file. Handy for big batches.
