Operating Systems > Linux and UNIX

Mirroring

(1/3) > >>

TheQuirk:
I know there's a command (because I used it once) that downloads a whole webpage. I need to do this so I could mirror a website, and it has thousands of files (small ones, at that - ~5kb each).

Stryker:
If they are allowing you to mirror it, can't you just download the source and put it in your web directory?

Master of Reality:
wget -r website.com (i think)
make sure that you change /etc/wgetrc to allow wget to dl deeper than 5 directories.
read the man page for wget too

TheQuirk:

quote:Originally posted by Stryker:
If they are allowing you to mirror it, can't you just download the source and put it in your web directory?
--- End quote ---


It's more convinient for the computer to do it for you.

Thanks Master of Reality.

Stryker:

quote:Originally posted by TheQuirk:


It's more convinient for the computer to do it for you.

Thanks Master of Reality.
--- End quote ---


i know, but when you do wget you do not get the source code for any cgi, php, or any scripting involved.

Navigation

[0] Message Index

[#] Next page

Go to full version