Entering edit mode
3.0 years ago
michael.flower.14
▴
200
I'm using wget to download a list of items.
Here's a sample of the long list of links in 'cram_download_list.txt':
ftp://ftp.sra.ebi.ac.uk/vol1/run/ERR323/ERR3239319/NA12750.final.cram
ftp://ftp.sra.ebi.ac.uk/vol1/run/ERR323/ERR3239324/NA12763.final.cram
ftp://ftp.sra.ebi.ac.uk/vol1/run/ERR323/ERR3239480/HG00118.final.cram
ftp://ftp.sra.ebi.ac.uk/vol1/run/ERR323/ERR3239480/HG00125.final.cram
And the wget command, which works well:
wget -i cram_download_list.txt
But the pipe breaks part way through the download. I don't want to re download the ones I've already got. Is there a way to get wget to ignore the files I've already got without having to remake the 'cram_download_list.txt' file?
try using
-r
and--tries
options for wget.