|
Re: lug-bg: Mirroring
- Subject: Re: lug-bg: Mirroring
- From: gf@xxxxxxxxxxx (Georgi Chorbadzhiyski)
- Date: Sun, 09 Jun 2002 15:19:51 +0300
Marian Popov wrote:
> Ia kajete niakoia programa deto da pravi mirror.
> Az polzvam wget mo na neia kato i zadam wget -mb
> ftp://ftp.site.org/pub/linux/debian/dist/version/2.2/
> i tia pravi mirror ne na directoriata do koiato stiga pytia a na cialoto
> ftp://ftp.site.org/
>
> + tova me interesuva kato pusna tazi programa tia da proveriava dali ima
> nova versia na niakoi file i da go updateva
> t.e da izteglia novata versia i da trie staria file.
http://mirrordir.sourceforge.net/
Scripta s koito si updatvam slack-current
#!/bin/sh
REMOTE="ftp://ftp.slackware.com/pub/slackware/slackware-current/"
LOCAL="/home/soft/slack/current"
(
date;
echo "Starting to mirror $REMOTE -> $LOCAL"
mirrordir \
--verbose \
--exclude-regexp '/source/' \
--exclude-regexp '/zipslack/' \
--no-netrc \
--no-chown \
--no-chmod \
--no-allow-empty-ftp-dirs \
$REMOTE $LOCAL
) | tee mirror_log_`date +%Y-%m-%d_%H_%M`
============================================================================
A mail-list of Linux Users Group - Bulgaria (bulgarian linuxers).
http://www.linux-bulgaria.org - Hosted by Internet Group Ltd. - Stara Zagora
To unsubscribe: http://www.linux-bulgaria.org/public/mail_list.html
============================================================================
|
|
|