Reputation: 328
I am trying to mirror a website (with permission, of course), but the files download into foo.com.
wget -mkp http://foo.com
gives me a folder called foo.com with all the files.
how do i get it to download the files to the current directory?
EDIT: I still want file hierarchy, but i want the root of the hierarchy to be the current directory
Upvotes: 3
Views: 2676
Reputation: 434
try to use wget within "-nd" param
wget -nd --mirror http://example.com
Upvotes: 4