All right, this is a quick teaser for episode 153. Darren and I are talking to Daniel Stenberg, the creator of Curl, and Daniel shared with us a super secret, a magic feature, as a matter of fact. It's six years in the making, been there for a very long time, and as far as he can tell, no one knows about it. Well, I asked Daniel, hey, is there a way to create an RC file for Curl, so a Curl RC file on your .files, and set Curl to use the O flag, the capital O flag, by default, so not Curl URLs, it just pulls those things down by default.
Well, he had this to say. Take a listen. I've got that accusation quite a lot that you can type, that you have to have an option to save a little file, and with Curl, you have to type dash Kepler O to do it. So I added an option that you can put in your .curlrc file and have it work like that by default.
What do you actually put in there? Just put the dash O in your Curl RC, and that's it? No, it's more complicated than that, because the dash O is only for one URL, so if you type more than one URL, you have to type one dash O for every URL you use. So this special magic one is called dash dash remote dash name dash all, as in remote name all.
So it makes the equivalent of dash Kepler O for all URLs that you type on the command line. I love that you just described it as the magic one. I would say that it probably is magic, because, well, there's not that many users who know about this. All right, that was Daniel Stenberg, the creator of Curl, sharing a magic feature that's been in Curl for over six years now, and no one knew about it until today.
Check the show notes for details on how to add that RC file to your .files and set that capital O flag by default. If you want to be notified when we ship episode 153, we send an email every Saturday. It's called Change Log Weekly. It's where we share everything that hits our open source radar.
We also include our latest episodes. Go to changelog.com slash weekly to sign up, and thanks for listening.