ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Sviatoslav Sviridov <svd@lintec.minsk.by>
To: mandrake-russian@altlinux.ru
Subject: Re: [mdk-re] rsync
Date: Thu Mar 29 13:17:12 2001
Message-ID: <20010329122346.7c5dc065.svd@lintec.minsk.by> (raw)
In-Reply-To: <20010329130906.132732a3.sss@roscredit.com>

On Thu, 29 Mar 2001 13:09:06 +0400
"Sergey S. Skulachenko" <sss@roscredit.com> wrote:

> On Thu, 29 Mar 2001 11:19:25 +0300
> Sviatoslav Sviridov <svd@ns1.lintec.minsk.by> wrote:
> 
> > On Wed, 28 Mar 2001 17:07:03 +0400
> > "Dmitry V. Levin" <ldv@alt-linux.org> wrote:
> 
> > > #!/bin/sh
> > > while ! rsync "$@"; do :; done
> > 
> > я использую чуть модифицированную версию:
> > 
> > while ! rsync "$@"; do sleep 1; done
> > 
> > А то при обрыве связи пока модем перезванивает этот
> > скрипт начинает пожирать всё процессорное время (фактически крутится
> > только цикл, т.к. rsync сразу отваливается из-за network is
> unreachable)
> > да и прервать его по Ctrl-C почти невозможно...
> Точно, у меня не пошёл. Причём при намеренном обрыве соединения, а затем
> восстановлении так и продолжал спать. Проверим вечером Ваш вариант. А
> могли бы для полной гарантии всю строку вызова привести? Не повредит.

У меня не полной копии сизифа, вытаскиваю я понемногу только то, что
требуется, поэтому задаю, как правило,маску на файлы. А параметры
выглядять примерно следующим образом:

rsync -azvP --timeout 600 \
ftp.altlinux.ru::ALTLinux/Sisyphus/i586/Mandrake/RPMS/*gnome* .

-- 
Sviatoslav Sviridov
[mailto:svd@lintec.minsk.by] [ICQ#10845380] [Lintec Project] [MLUG]



      reply	other threads:[~2001-03-29 13:17 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-03-28 16:54 ` Sergey S. Skulachenko
2001-03-29  3:10   ` Sergei
2001-03-28 17:09 ` Dmitry V. Levin
2001-03-29 12:13   ` Sviatoslav Sviridov
2001-03-29 13:04     ` Sergey S. Skulachenko
2001-03-29 13:17       ` Sviatoslav Sviridov [this message]

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20010329122346.7c5dc065.svd@lintec.minsk.by \
    --to=svd@lintec.minsk.by \
    --cc=mandrake-russian@altlinux.ru \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

ALT Linux Community general discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/community/0 community/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 community community/ http://lore.altlinux.org/community \
		mandrake-russian@linuxteam.iplabs.ru community@lists.altlinux.org community@lists.altlinux.ru community@lists.altlinux.com
	public-inbox-index community

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.community


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git