From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: From: Aleksandr Blohin To: mandrake-russian@altlinux.ru Subject: Re: [mdk-re] rsync script Message-Id: <20020221195809.4ac9f4a3.sass@uustoll.ee> In-Reply-To: <492938976.20020221143555@chemsell.yaroslavl.ru> References: <492938976.20020221143555@chemsell.yaroslavl.ru> X-Mailer: stuphead ver. 0.5.5 (Alternative-cvs) (GTK+ 1.2.10; Linux 2.4.18-sass1; i686) Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="Multipart_Thu__21_Feb_2002_19:58:09_+0200_08297a58" Sender: mandrake-russian-admin@altlinux.ru Errors-To: mandrake-russian-admin@altlinux.ru X-BeenThere: mandrake-russian@altlinux.ru X-Mailman-Version: 2.0 Precedence: bulk Reply-To: mandrake-russian@altlinux.ru List-Help: List-Post: List-Subscribe: , List-Id: Linux-Mandrake RE / ALT Linux discussion list List-Unsubscribe: , List-Archive: Date: Thu Feb 21 21:03:13 2002 X-Original-Date: Thu, 21 Feb 2002 19:58:09 +0200 Archived-At: List-Archive: List-Post: This is a multi-part message in MIME format. --Multipart_Thu__21_Feb_2002_19:58:09_+0200_08297a58 Content-Type: text/plain; charset="KOI8-R" Content-Transfer-Encoding: 8bit On Thu, 21 Feb 2002 14:35:55 +0300 "Lenya L. Khachaturov" wrote: LLK> Hello mandrake-russian, LLK> Пришлите пожалуйста какой-нибудь скрипт для синхронизации LLK> Сизифа rsync'ом с восстановлением после ошибки rsync. LLK> getRE Сергея Епифанова что-то не работает у меня, я его LLK> постил вчера, если кто-нибудь его поправит, буду очень LLK> признателен. -- Best regards AB -- ... In nomine Altli, et Ctrli, et Spititus Deli, Reset! --Multipart_Thu__21_Feb_2002_19:58:09_+0200_08297a58 Content-Type: text/plain; name="getrsync" Content-Disposition: attachment; filename="getrsync" Content-Transfer-Encoding: base64 IyEvdXNyL2Jpbi9wZXJsCj1oZWFkMSDp2s3FzsXOydEKCvDPxCDMycPFztrJxcogR1BMIHYuMgoK MTMuMDguMjA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