4 ms·
Stealing this, but had to lookup the parameters. It does work, but it should be `-C -` with a space. Also I like progress bars so my alias for now is: curl -
by moontear 2y ago
Stealing this, but had to lookup the parameters. It does work, but it should be `-C -` with a space. Also I like progress bars so my alias for now is:
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?
- cholantesh 2y ago>* -J Use the server-specified Content-Disposition filename instead of extracting a filename from the URL Can't wrap my head around how -J maps to remote header name...still, this was super useful, thanks!
- kasabali 2y ago> but it should be `-C -` with a space Works just fine without it
- moontear 2y agoNot in my Debian distro and also documented differently in the man pages. If it works for you: nice