How can I use curl with a file descriptor for better performance? or Is there a way to handle curl us

18 Replies, 887 Views

Oh, this is fun! You can even use `-K` with a config file pointing to `/dev/fd/N`.

Example:
```
url = "http://example.com"
upload-file = "/dev/fd/3"
```

Why? Less filesystem noise, better for chaining commands.

Downside: Debugging can be a pain since you’re not leaving intermediate files.

Messages In This Thread



Users browsing this thread: 1 Guest(s)