Is there a way to freeze to add output to an existing file using the --output / -o option without overwriting? I can not use redirection:
curl http://url >> file
Because I use the return code from curl:
response="$(curl --write-out "%{http_code}" --silent --output file http://url)"
source
share