Answer the question
In order to leave comments, you need to log in
How to make a sitemap using wget?
I know that it seems like you can download sites (he can extract links from downloaded files). I would like to know how to do it. Or at least get a list of all the files and directories there. Do you know how find works? Stupidly displays a list of all files with full paths to them (this is if without arguments). Something like this I would like
Answer the question
In order to leave comments, you need to log in
There is a special parameter '-r' for this. Here is a simple example of how it works:
ph@laptop ~ $ cd /tmp/
ph@laptop /tmp $ wget -r malyg.in
ph@laptop /tmp $ find malyg.in/
malyg.in/
malyg.in/tag
malyg.in/tag/uefi
malyg.in/tag/bluetooth
malyg.in/tag/manual
malyg.in/tag/linux
malyg.in/novus-exertus
malyg.in/perekhod-na-ispolzovanie-uefi-v-gnu-linux
malyg.in/bluetooth-i-blokirovka-ekrana-v-gnu-linux
malyg.in/feed.xml
malyg.in/robots.txt
malyg.in/index.html
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question