Using Curl as Wget replacement

While Wget and Fetch is rather easy to get an iso from the webs, curl is apparenly quite stoopid.
Not only will it happily spit out binary data on STDOUT, it will also happily spit out the Body of a 30x redirect, in stead of getting the damn file.

Solution: teach curl how to behave!

Normally:
wget <url>

In Curl:
curl -LO <url>
Dette indlæg blev udgivet i Knowledge Base. Bogmærk permalinket.

Skriv et svar