23
rated 0 times
[
23]
[
0]
/ answers: 1 / hits: 24436
/ 2 Years ago, sun, september 18, 2022, 6:33:43
If I run wget twice, it doesn't recognise that it has already downloaded that file, and creates a new one. Is there any way to prevent it downloading the file again?
$ wget https://cdn.sstatic.net/askubuntu/img/logo.png
...
Saving to: ‘logo.png’
...
$ wget https://cdn.sstatic.net/askubuntu/img/logo.png
...
Saving to: ‘logo.png.1’
...
(Happy to use curl or a similar scriptable alternative if wget can't do this.)
More From » wget