I use `curl -JLOC-`
It's easy to remember, JLO is jlo, C is continue, - for symmetry.
curl -#JLOC -
* -# Progress bar instead of the standard meter* -J Use the server-specified Content-Disposition filename instead of extracting a filename from the URL
* -L Follow redirects
* -O Write output to a local file (download)
* -C - Resume transfers
Maybe a good mnemonic would be something along the lines of jlo liking hashtags?
Can't wrap my head around how -J maps to remote header name...still, this was super useful, thanks!
Works just fine without it
$ curl -JLOC- "https://news.ycombinator.com/news.css?nZdOgS3Y18zj0ynCo50h"
curl: --continue-at and --remote-header-name cannot be combined
curl: try 'curl --help' or 'curl --manual' for more information