Re:Why curl defaults to stdout
by scintill76 on Monday November 17, 2014 @07:42AM
(#8617888)
A common use for wget for me is downloading a tarball or something to a remote server. Browse for it on local browser, then type wget and paste the download URL into an ssh connection. It is a bit biased toward wget just because I happened to learn it first, but I could use curl -O the same way.
[ Parent
| on HN ]
Could also do `curl ${url}.tgz | tar xz`.
Which fails badly if the download gets interrupted.
Re:Why curl defaults to stdout
by scintill76 on Monday November 17, 2014 @04:50PM
(#8620875)
Yeah, and you can't check file integrity (hash or crypto signature) first, or list the contents of the file before extracting.