Download web server structure with empty files
Posted
by
golimar
on Super User
See other posts from Super User
or by golimar
Published on 2012-10-18T10:34:09Z
Indexed on
2012/10/18
11:03 UTC
Read the original article
Hit count: 177
I want to make a mirror of a Web server, but downloading the actual files will take too long. So I thought of having just the directory and file structure, and when I need the actual contents of the file, I can download just that file.
I have tried
wget --spider URL
and in a short time it has created in my local disk the directory structure with no files. But I've checked all of wget's or curl's switches and there is nothing like what I need.
Can this be done with wget, curl or any other tool?
© Super User or respective owner