H
H
Horosh2942020-06-22 08:42:47
Parsing
Horosh294, 2020-06-22 08:42:47

How to download links from a file using wget to the appropriate folders?

Hello! I used to use such a wget command before,
c:\wget.exe -i d:\s\11.txt -nc -c -P d:\s\
but now something else was needed: in the file from which it takes links, the links are in this form:

https://ruq.hotmo.org/covers/a/4c7/e84/46414.jpg
https://ruq.hotmo.org/covers/a/07e/332/538714.jpg
https://ruq.hotmo.org/covers/a/dca/abb/413337.jpg
https://ruq.hotmo.org/covers/a/7c2/410/35345.jpg

so if it uploads to the same folder as before, files with the same name will be skipped. Is it possible to add something to this command and make sure that everything is downloaded to the appropriate folders, and not to the same one as before.

Answer the question

In order to leave comments, you need to log in

1 answer(s)
H
Horosh294, 2020-06-22
@Horosh294

Need to add -x
this way the correct commandc:\wget.exe -i d:\s\11.txt -nc -x -c -P d:\s\

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question