On Mon, 12 Aug 2002, MikeL wrote:
..
> 
> hello,
> 
> gud day. i have an existing website, i want to create a mirror site.
> just want to ask how to mirror an existing website. is there any linux
> tool to do it automatically. say every 8 to 12 hrs. what software can
> you recommend. i'm currently using redhat 7.2

Here's what I run from cron to mirror the Gutenberg Project:

#!/bin/sh
cd /raid/gutenberg
wget --mirror --no-host-directories --passive-ftp --no-parent --cut-dirs=4 \
        --output-file=/tmp/wget-gutenberg.log \
        ftp://ftp.ibiblio.org/pub/docs/books/gutenberg &

works for FTP as well..


---
Orlando Andico <[EMAIL PROTECTED]>
Mosaic Communications, Inc.

_
Philippine Linux Users Group. Web site and archives at http://plug.linux.org.ph
To leave: send "unsubscribe" in the body to [EMAIL PROTECTED]

To subscribe to the Linux Newbies' List: send "subscribe" in the body to 
[EMAIL PROTECTED]

Reply via email to