Wget - if / else download condition?
- by Kai
I want wget to prefer a certain filetype over another, if the files have the same basename.
For example:
if foo.ogg available, don't download foo.mp3
the way i use wget so far to crawl/automatically download (if anyone is interested):
wget -Dfoo.com -I /folder/ -r -l 1 -nc -A.ogg,.mp3 -i http://www.foo.com/folder/
but this, of course, gets…