A
A
A person from Kazakhstan2017-11-21 08:35:48
Wget
A person from Kazakhstan, 2017-11-21 08:35:48

How to prohibit downloading everything above the download directory?

We have wget on linux and try to download a specific folder and only it and nothing else on the site with this command:

wget -r -k -l 7 -p -E -nc http://site.com/preview/folder109/index.html

In the preview folder there are 100500 folders with all sorts of things and you only need to download one directory - is there such a possibility?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
P
Person from Kazakhstan, 2017-11-21
@LenovoId

wget -r --no-parent http://site.com/preview/folder109
approached

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question