ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Borovskoy <alb@altlinux.ru>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: Re: [devel] Что с rsync?
Date: Sun, 21 Nov 2004 06:49:42 +1200
Message-ID: <200411210649.56559.alb@altlinux.ru> (raw)
In-Reply-To: <20041120152215.GA7041@basalt.office.altlinux.org>

[-- Attachment #1: Type: text/plain, Size: 1217 bytes --]

* Воскресенье 21 Ноябрь 2004 03:22 "Dmitry V. Levin" 
<ldv@altlinux.org>

> Hi,
>
> On Sun, Nov 21, 2004 at 02:39:23AM +1200, Alexey Borovskoy 
wrote:
> > Наступил на грабли. Не могу докачать ни через rsync, ни
> > через lftp get -c. Закачка заново начинается нормально,
> > докачка обламывается.
> >
> > Строка запуска rsync:
> > rsync --progress --partial --stats -z
>
> Зачем вам -z?
>
> > $date
> > Вск Ноя 21 02:31:52 PETT 2004
> >
> > $ rsync-alt-sisyphus asterisk-1.0.2-alt1.src.rpm ./
> > From: rsync.altlinux.ru::ALTLinux/Sisyphus/files/SRPMS/
> > Source: asterisk-1.0.2-alt1.src.rpm
> > Dest: ./
> > Welcome to ALT Linux Team public rsync server!
> >
> > rsync error: timeout in data send/receive (code 30) at
> > io.c(153) rsync: connection unexpectedly closed (122 bytes
> > read so far) rsync error: error in rsync protocol data
> > stream (code 12) at io.c(342)
>
> Можно команду полностью и без камуфляжа?

#!/bin/bash

echo "From: rsync.altlinux.ru::ALTLinux/Sisyphus/files/SRPMS/"
echo "Source: $1"
echo "Dest: $2"

rsync --progress --partial --stats -v \
    rsync.altlinux.ru::ALTLinux/Sisyphus/files/SRPMS/$1 $2

-- 
Алексей.
GPG key fingerprint
DBB3 1832 13C6 5C96 4A58  4AFF 78F7 159F 66AD 8D7E

[-- Attachment #2: signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]

      reply	other threads:[~2004-11-20 18:49 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-11-20 14:39 Alexey Borovskoy
2004-11-20 15:22 ` Dmitry V. Levin
2004-11-20 18:49   ` Alexey Borovskoy [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=200411210649.56559.alb@altlinux.ru \
    --to=alb@altlinux.ru \
    --cc=devel@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 Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/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 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

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


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