* Re: [mdk-re] rsync @ 2001-03-28 16:54 ` Sergey S. Skulachenko 2001-03-29 3:10 ` Sergei 2001-03-28 17:09 ` Dmitry V. Levin 1 sibling, 1 reply; 6+ messages in thread From: Sergey S. Skulachenko @ 2001-03-28 16:54 UTC (permalink / raw) To: mandrake-russian [-- Attachment #1: Type: text/plain, Size: 650 bytes --] On Wed, 28 Mar 2001 16:34:07 +0400 "Mihail Kolomytcev" <miha@gucb.lipetsk.ru> wrote: > А как сделать, чтобы не отваливался по timeout'у (короче нужно чтобы > всегда ломился, как в wget'е например -t0). Я пробую давать > --timeout=500, --timeout=0, но ничего не выходит, все равно выбрасывает > (я же не могу сидеть и наблюдать за ним). Добрый челове присылал скриптик. Мне жаль, что не могу назвать имя автора (письмо дома у меня). Посмотрите и перепишите под свой вариант соединения. У меня работает. Поставил ещё беззвучный модем IDC 5614 BXL/VR вместо Курьера. Даже не просыпаюсь ночью, когда модем перезванивает. -- С уважением, С.С.Скулаченко [-- Attachment #2: getRE --] [-- Type: application/octet-stream, Size: 324 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [mdk-re] rsync 2001-03-28 16:54 ` [mdk-re] rsync Sergey S. Skulachenko @ 2001-03-29 3:10 ` Sergei 0 siblings, 0 replies; 6+ messages in thread From: Sergei @ 2001-03-29 3:10 UTC (permalink / raw) To: mandrake-russian 28 Март 2001 16:58 Вы написали: > On Wed, 28 Mar 2001 16:34:07 +0400 > > "Mihail Kolomytcev" <miha@gucb.lipetsk.ru> wrote: > > А как сделать, чтобы не отваливался по timeout'у (короче нужно чтобы > > всегда ломился, как в wget'е например -t0). Я пробую давать > > --timeout=500, --timeout=0, но ничего не выходит, все равно выбрасывает > > (я же не могу сидеть и наблюдать за ним). > > Добрый челове присылал скриптик. Мне жаль, что не могу назвать имя автора > (письмо дома у меня). Посмотрите и перепишите под свой вариант соединения. > У меня работает. Поставил ещё беззвучный модем IDC 5614 BXL/VR вместо > Курьера. Даже не просыпаюсь ночью, когда модем перезванивает. Было, было, присылал... свое сочинение. -- С уважением, Епифанов Сергей ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [mdk-re] rsync 2001-03-28 16:54 ` [mdk-re] rsync Sergey S. Skulachenko @ 2001-03-28 17:09 ` Dmitry V. Levin 2001-03-29 12:13 ` Sviatoslav Sviridov 1 sibling, 1 reply; 6+ messages in thread From: Dmitry V. Levin @ 2001-03-28 17:09 UTC (permalink / raw) To: Linux-Mandrake RE Mailing List [-- Attachment #1: Type: text/plain, Size: 1124 bytes --] On Wed, Mar 28, 2001 at 04:34:07PM +0400, Mihail Kolomytcev wrote: > >А как указать rsync'у, чтобы не закачивал например директорию SRPMS (короче, чтобы закачал все кроме SRPMS, зачем они мне нужны, если RPMS есть). А то, что то в help'е не нашел. > $ man rsync > <skip> > --exclude=PATTERN exclude files matching PATTERN > <skip> > Не спасет? > > А как сделать, чтобы не отваливался по timeout'у (короче нужно чтобы всегда ломился, как в wget'е например -t0). Я пробую давать --timeout=500, --timeout=0, но ничего не выходит, все равно выбрасывает (я же не могу сидеть и наблюдать за ним). Об этом уже здесь писали: #!/bin/sh while ! rsync "$@"; do :; done Этот скрипт нужно запускать в точности с теми же параметрами, что и rsync. Regards, Dmitry +-------------------------------------------------------------------------+ Dmitry V. Levin mailto://ldv@alt-linux.org ALT Linux Team http://www.altlinux.ru/ Fandra Project http://www.fandra.org/ +-------------------------------------------------------------------------+ UNIX is user friendly. It's just very selective about who its friends are. [-- Attachment #2: Type: application/pgp-signature, Size: 232 bytes --] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [mdk-re] rsync 2001-03-28 17:09 ` Dmitry V. Levin @ 2001-03-29 12:13 ` Sviatoslav Sviridov 2001-03-29 13:04 ` Sergey S. Skulachenko 0 siblings, 1 reply; 6+ messages in thread From: Sviatoslav Sviridov @ 2001-03-29 12:13 UTC (permalink / raw) To: mandrake-russian On Wed, 28 Mar 2001 17:07:03 +0400 "Dmitry V. Levin" <ldv@alt-linux.org> wrote: > > А как сделать, чтобы не отваливался по timeout'у (короче нужно чтобы > всегда ломился, как в wget'е например -t0). Я пробую давать > --timeout=500, --timeout=0, но ничего не выходит, все равно выбрасывает > (я же не могу сидеть и наблюдать за ним). > > Об этом уже здесь писали: > > #!/bin/sh > while ! rsync "$@"; do :; done я использую чуть модифицированную версию: while ! rsync "$@"; do sleep 1; done А то при обрыве связи пока модем перезванивает этот скрипт начинает пожирать всё процессорное время (фактически крутится только цикл, т.к. rsync сразу отваливается из-за network is unreachable) да и прервать его по Ctrl-C почти невозможно... > Этот скрипт нужно запускать в точности с теми же параметрами, что и > rsync. -- Sviatoslav Sviridov [mailto:svd@lintec.minsk.by] [ICQ#10845380] [Lintec Project] [MLUG] ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [mdk-re] rsync 2001-03-29 12:13 ` Sviatoslav Sviridov @ 2001-03-29 13:04 ` Sergey S. Skulachenko 2001-03-29 13:17 ` Sviatoslav Sviridov 0 siblings, 1 reply; 6+ messages in thread From: Sergey S. Skulachenko @ 2001-03-29 13:04 UTC (permalink / raw) To: mandrake-russian 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 почти невозможно... Точно, у меня не пошёл. Причём при намеренном обрыве соединения, а затем восстановлении так и продолжал спать. Проверим вечером Ваш вариант. А могли бы для полной гарантии всю строку вызова привести? Не повредит. -- С уважением, С.С.Скулаченко ^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [mdk-re] rsync 2001-03-29 13:04 ` Sergey S. Skulachenko @ 2001-03-29 13:17 ` Sviatoslav Sviridov 0 siblings, 0 replies; 6+ messages in thread From: Sviatoslav Sviridov @ 2001-03-29 13:17 UTC (permalink / raw) To: mandrake-russian 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] ^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2001-03-29 13:17 UTC | newest] Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed) -- links below jump to the message on this page -- 2001-03-28 16:54 ` [mdk-re] rsync 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
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