I'm trying to download site with command:
wget -r -l 0 -p -k -m -e robots=off --restrict-file-names=nocontrol,unix http://example.com
When it finds the link, for example,
http://example.com/direction, it creates a file on the disk
Then, for example, it finds some other files (links) in 'direction', suppose
wget rewrite old file
./example.com/direction with some HTML, and transform it into the directory. And write new file
If it finds a new file inside
/direction/11, then it'll rewrite
11 as well and convert it into the directory.
So, it seems, I've lost all directory index files.
Is there a solution for the problem in wget itself?