For a pure curl command to download from url list file, you can use `-K` to read the file directly. Like this:
```bash
curl -K urls.txt
```
But your file needs to have each URL prefixed with `url = ` (e.g., `url = https://example.com/file1`).
If you don’t wanna edit the file, stick with `xargs`. Btw, `wget` also has a `-i` flag for this, if you’re open to alternatives.
```bash
curl -K urls.txt
```
But your file needs to have each URL prefixed with `url = ` (e.g., `url = https://example.com/file1`).
If you don’t wanna edit the file, stick with `xargs`. Btw, `wget` also has a `-i` flag for this, if you’re open to alternatives.
