ALT Linux Sisyphus discussions
 help / color / mirror / Atom feed
From: "Alexei V. Mezin" <alexei_vm@micmedia.ru>
To: ALT Linux Sisyphus discussion list <sisyphus@lists.altlinux.org>
Subject: Re: [sisyphus] Re: Вопрос про rsync
Date: Mon, 26 Dec 2005 21:50:32 +0300
Message-ID: <43B03B78.6030306@micmedia.ru> (raw)
In-Reply-To: <20051226174813.GH17598@osdn.org.ua>

Michael Shigorin пишет:
> On Mon, Dec 26, 2005 at 03:16:24PM +0300, Alexei V. Mezin wrote:
>> А есть ли у rsync режим наподобие dry-run с сохранением списка
>                           ^^^^^^^^^^^^^^^^^
>> "скаченных" файлов?
> 
> Нет AFAIK, а жаль.  Сам в ту сторону усиленно думал.
> 

Пока получается как-то вот так:
cd /ALT/Sisyphus/SRPMS
rsync -avzni rsync.altlinux.ru::ALTLinux/Sisyphus/files/SRPMS/ ./ > 
/home/alexei/rsync_ready/rsync_SRPMS.log

cat ./rsync_SRPMS.log | grep f+++ | awk '{print 
"ftp://ftp.altlinux.ru/pub/distributions/ALTLinux/Sisyphus/files/SRPMS/"$2}' 
 > SRPMS.list


А потом скормить SRPMS.list какой-нить качалке наподобие wget.
Осталось сделать из этого приличный скрипт.


  reply	other threads:[~2005-12-26 18:50 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2005-12-26 12:16 [sisyphus] " Alexei V. Mezin
2005-12-26 13:19 ` Alexey V. Novikov
2005-12-26 13:25 ` Yuriy Kashirin
2005-12-26 17:48 ` [sisyphus] " Michael Shigorin
2005-12-26 18:50   ` Alexei V. Mezin [this message]
2005-12-27 13:23 ` [sisyphus] " Afanasov Dmitry

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=43B03B78.6030306@micmedia.ru \
    --to=alexei_vm@micmedia.ru \
    --cc=alex783@hotbox.ru \
    --cc=sisyphus@lists.altlinux.org \
    /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 Sisyphus discussions

This inbox may be cloned and mirrored by anyone:

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

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


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