Hello LQ people,
I read about the correct way to download a file with both resuming and redirecting functions, on the Debian website:
When I run the following command:
Code:
$curl -C - -L http://cdimage.debian.org/debian-cd/5.0.2/amd64/iso-dvd/debian-502-amd64-DVD-[1-5].iso -o "debian-502-amd64-DVD-#1.iso"
The download starts correctly, with the output:
Code:
[1/5]: http://cdimage.debian.org/debian-cd/5.0.2/amd64/iso-dvd/debian-502-amd64-DVD-1.iso --> debian-502-amd64-DVD-1.iso
So it works!
My doubt is only about the syntax of this command options. I mean, why the second dash following -C ?? Does it mean it should resume automatically if the download fails? I couldn't find anything related on the man page.
Thanks in advance!
sl33p