This is a bonus clip from the after call with Daniel Stenberg for episode #153. Daniel shared the details of a “magic feature” in cURL that’s been there for over 6 years. It’s a feature he feels most people don’t know exists.
To start using this “magic feature”, create a
.curlrc dotfile in your root with the following settings to set the
-O flag by default on all URLs fetched using cURL.
# Default to -O