How to continue partially downloaded files using wget
Wget is one of the best command line tools ever built. We have already discussed a few of wget's features, but I guess I missed one very important one - "to continue download from a partially downloaded file". All you have to do is use the -c or --continue option in your previous wget command and you are good to go. Here is an example.
Suppose this is what you executed the first time.
[shredder12]$ wget http://foo.bar/file.tgz
For some reason, you stopped the download in middle and now you want to continue the download of that partially downloaded file. Just add the --continue or -c option in the same command.
[shredder12]$ wget -c http://foo.bar/file.tgz
Please note that, wget doesn't keep a log of our downloads. It comes to know about the partially downloaded files by finding them out in your download directory. So, make sure that you have the that file in the current directory(or any other download location) before continuing with the download.



























1 Comment
Post new comment