ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: Yakov Hrebtov <jake@generation.ru>
To: Andrew Fefilov <community@altlinux.ru>
Subject: Re[2]: [Comm] rsync и unsafe ссылки
Date: Wed, 15 Dec 2004 13:00:22 +0500
Message-ID: <1495486337.20041215130022@generation.ru> (raw)
In-Reply-To: <20041215075506.GA3283@faa.lan.blok-caf.ru>

Здравствуйте, Andrew.

Вы писали 15 декабря 2004 г., 12:55:07:

AF> On Wed, Dec 15, 2004 at 11:37:54AM +0500, Yakov Hrebtov wrote:
>> Здравствуйте!
>> 
>> Подскажите, как с помощью rsync копировать unsafe (разованные) ссылки?
>> Проблема в следующем:
>> Я синхронизирую дерево каталогов с одной машины на другую. На source
>> машине rsync сервер, на destination -- rsync клиент. В
>> Синхронизируемом дереве каталогов есть симв. ссылки, указывающие за
>> пределы синхронизируемого дерева. В итоге после синхронизации этих
>> ссылок нет вообще. Мне же нужно чтоб после синхронизации на destination
>> эти ссылки присутствовали, но были разорванными. Сделать мне этого не
>> удается.
>> Ситуацию, конечно, можно смоделировать по-другому -- на одной машине.
>> Например создать в каталоге ./src изначально разорванную ссылку и попробовать
>> rsync -a ./src ./dst
>> в итоге в dst этой ссылки нет...
>> 
>> Странно что есть опция --safe-links и нет обратной ей (или я
>> протормозил и не нашел)

AF> Из man rsync:
AF> --copy-unsafe-links     copy links outside the source tree
AF> Оно ? Это на М2.2. Сам не пробовал.
Нет - это не оно (насколько я понял по кр. мере).
Из man rsync:
--copy-unsafe-links
    This  tells  rsync  to  copy the referent of symbolic links that
    point outside the  copied  tree.
Т.е. копируется то, куда указывает ссылка, а не сама ссылка.

-- 
С уважением,
 Yakov                          mailto:jake@generation.ru



  reply	other threads:[~2004-12-15  8:00 UTC|newest]

Thread overview: 28+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2004-12-15  6:37 Yakov Hrebtov
2004-12-15  7:55 ` Andrew Fefilov
2004-12-15  8:00   ` Yakov Hrebtov [this message]
2004-12-15 10:46     ` Andrew Fefilov
2004-12-15 11:06       ` Re[2]: " Yakov Hrebtov
2004-12-15 11:20         ` Andrew Fefilov
2004-12-15 11:41           ` Re[2]: " Yakov Hrebtov
2004-12-15 11:44             ` [Comm] " Michael Shigorin
2004-12-15 11:51               ` Yakov Hrebtov
2004-12-15 12:20                 ` Michael Shigorin
2004-12-15 12:32                   ` Yakov Hrebtov
2004-12-15 12:34                     ` Michael Shigorin
2004-12-15 12:50                       ` Yakov Hrebtov
2004-12-15 12:52                         ` Michael Shigorin
2004-12-15 13:00                           ` Yakov Hrebtov
2004-12-15 13:06                           ` Michael Isachenkov
2004-12-15 18:34                             ` Michael Shigorin
2004-12-16  4:30                             ` Re[2]: " Yakov Hrebtov
2004-12-16  7:27                               ` Michael Isachenkov
2004-12-17 19:28                               ` Michael Shigorin
2004-12-20  4:51                                 ` Yakov Hrebtov
2004-12-20  8:06                                   ` Michael Shigorin
2004-12-20  8:26                                     ` Yakov Hrebtov
2004-12-15 13:19                 ` Mike Lykov
2004-12-16  4:10                   ` Re[2]: " Yakov Hrebtov
2004-12-17 19:26                   ` [Comm] [JT] " Michael Shigorin
2004-12-15 12:08             ` [Comm] " Andrew Fefilov
2004-12-15 12:25               ` Re[2]: " Yakov Hrebtov

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=1495486337.20041215130022@generation.ru \
    --to=jake@generation.ru \
    --cc=community@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