From: Michael Shigorin <mike@osdn.org.ua> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] rsync Date: Wed, 30 Sep 2009 03:34:00 +0300 Message-ID: <20090930003400.GT28241@osdn.org.ua> (raw) In-Reply-To: <4AB9A6DA.2070409@rambler.ru> On Wed, Sep 23, 2009 at 10:40:58AM +0600, alisher wrote: > написал скрипт: Мелкие придирки не по сути поставленного вопроса (раз ответили): > #!/bin/bash Обычно достаточно /bin/sh, тут так точно. > while [ true ] > do while :; do Здесь двоеточие -- это shell builtin: $ help : :: : No effect; the command does nothing. A zero exit code is returned. [ -- хоть и тоже shell builtin, но тут совершенно излишний. (см. man test) > /usr/bin/rsync -avz -P --delete-after -z, кажется, заблокировано на сервере; у меня обычно -PavHx +/- --link-dest, если есть с чем хардлинковать. -- ---- WBR, Michael Shigorin <mike@altlinux.ru> ------ Linux.Kiev http://www.linux.kiev.ua/
prev parent reply other threads:[~2009-09-30 0:34 UTC|newest] Thread overview: 11+ messages / expand[flat|nested] mbox.gz Atom feed top 2009-09-23 4:40 alisher 2009-09-23 4:52 ` Константин Михайленко 2009-09-23 5:06 ` Alexander Yadykin 2009-09-23 5:48 ` Timur Batyrshin 2009-09-23 9:39 ` alisher 2009-09-23 6:39 ` Andrey Rahmatullin 2009-09-23 10:51 ` Денис Смирнов 2009-09-24 4:19 ` alisher 2009-09-28 5:12 ` alisher 2009-09-28 5:45 ` Aleksey Avdeev 2009-09-30 0:34 ` Michael Shigorin [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=20090930003400.GT28241@osdn.org.ua \ --to=mike@osdn.org.ua \ --cc=community@lists.altlinux.org \ --cc=shigorin@gmail.com \ /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