If I have a list of URLs separated by
\n, are there any options I can pass to
wget to download all the URLs and save them to the current directory, but only if the files don't already exist?
There is a
--no-clobber) option for
.... -i, --input-file=FILE download URLs found in local or external FILE. .... -nc, --no-clobber skip downloads that would download to existing files. -c, --continue resume getting a partially-downloaded file. ....
--continue because it seemed like it might be helpful if you're trying to recover from an interrupted download, but you don't need it to answer your original question.