What's the most useful curl flag you use regularly? or How do you properly use the -L curl flag for r

18 Replies, 1639 Views

lol i feel you, those curl flags tripped me up too at first.

-O = lazy mode (keeps OG name)
-o = control freak mode (you pick the name)

Pro tip: if you’re scripting, -o is way better ‘cause you can standardize filenames. No surprises!

Also, if you mess up, just `rm` the file and try again. No biggie.

Messages In This Thread



Users browsing this thread: 1 Guest(s)