Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info
titleIF YOU SEE THE ERROR "curl: option --netrc-file: is unknown"

When running the script, if you get the error

Code Block
curl: option --netrc-file: is unknown

this means the curl command is not recognizing the option --netrc-file. 

This The --netrc-file option was added in curl version 7.21.5.  You can check your version of curl by running the following command:

Code Block
languagebash
curl -V

If your version of curl is less than 7.21.5, you need to update curl.

...