ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Victor Forsyuk <victor@ksi-linux.com>
To: ALT Devel discussion list <devel@altlinux.ru>
Subject: [devel] rsync --delete-after
Date: Thu, 2 Oct 2003 12:06:52 +0300
Message-ID: <20031002090652.GA5441@mailhub.gu.net> (raw)
In-Reply-To: <3F7BD579.7080801@sicex.ru>

On Thu, Oct 02, 2003 at 02:36:25PM +0700, Alexander Belov wrote:
> 
> PS: что-то я разобраться не могу с rsync:
> 
> %ls -l
> total 166080
> -rw-r--r-- 3241689 29 сен 16:49 vegastrike-0.4.1C-alt1.src.rpm
> -rw-r--r-- 109080089  2 окт 14:04 vegastrike-data-0.4-alt4.src.rpm
> -rw-r--r-- 57643938  1 окт 10:46 vegastrike-music-0.4-alt2.src.rpm
> 
> Залил уже один раз, но использую --delete-after, в надежде, что лишние 
> пакеты удаляться:
> %rsync -vazP --delete-after -e ssh ./*.src.rpm devel:/incoming/Sisyphus/
                                     ^^^^^^^^^^^

man rsync - описание опции --delete:

"This option has no effect if directory recursion is not selected."

Поэтому нужно не задавать wildcard, а скинуть только необходимые
для upload файлы в каталог и в командной строке rsync'а задавать
имя _каталога_.


> Enter passphrase for key '/usr/home/asbel/.ssh/id_dsa':
> building file list ...
> 3 files to consider
> wrote 152 bytes  read 20 bytes  22.93 bytes/sec
> total size is 169965716  speedup is 988172.77
> 
> А они не удаляются :(.


  reply	other threads:[~2003-10-02  9:06 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2003-10-02  4:24 [Fwd: Re: [devel] [Fwd: Re: vegastrike-data-0.4-alt1.src.rpm - cannot rebuild]] Alexander Belov
2003-10-02  4:43 ` Alexander Belov
2003-10-02  7:36   ` Alexander Belov
2003-10-02  9:06     ` Victor Forsyuk [this message]
2003-10-02  9:18       ` [devel] rsync --delete-after Alexander Belov
2003-10-03  9:58     ` [Fwd: Re: [devel] [Fwd: Re: vegastrike-data-0.4-alt1.src.rpm - cannot rebuild]] Michael Shigorin
2003-10-03 10:56       ` Alexander Belov
2003-10-03 11:08         ` Michael Shigorin
2003-10-03 11:37           ` Alexander Belov

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=20031002090652.GA5441@mailhub.gu.net \
    --to=victor@ksi-linux.com \
    --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