Why do so many "download X with curl" guides not use sane options?
-L : follow redirects! PLEASE!
-O: output to the filename specified by the server
-J : for `-O`, trust the content header
-f: fail fast without content body on a 4xx error
And for all that is holy, quote your URL content; not every shell is bash, friends
`curl -fLOJ 'https://your-url..../'` please
Matt Campbell
in reply to calcifer • • •