From: "Kirill A. Shutemov" <kirill@shutemov.name> To: ALT Linux Community general discussions <community@lists.altlinux.org> Subject: Re: [Comm] Многотомный tar-архив без split Date: Fri, 19 Sep 2008 15:17:36 +0300 Message-ID: <20080919121735.GC5346@localhost.localdomain> (raw) In-Reply-To: <48D38F40.3080009@rambler.ru> [-- Attachment #1: Type: text/plain, Size: 1338 bytes --] On Fri, Sep 19, 2008 at 02:38:40PM +0300, =?KOI8-R?Q?=E4=C5=CE=C9=D3_=F1=C7=CF=C6=C1=D2=CF=D7_ wrote: > Добрый день. > > Я хочу создать tar'ом многотомный архив.... но без помощи split... Э.. А зачем есть кактус? > пробую так: > $ export ARG=1 > $ tar -c -M -L 30000 --new-volume-script="cp test.tar > test$(ARG=$(($ARG+1)) ; echo $ARG).tar" -f test.tar /folder-test > > Но ARG не меняется.... > Когда пробую: > $ echo $(export ARG=$(($ARG+1)) ; echo $ARG) > или > $ echo $( ARG=$(($ARG+1)) ; echo $ARG) > Результат один и тот же.... Как поменять глобальный ARG из "под-"скрипта? > begin:vcard > fn:Denis Timurovich Yagofarov > n:Yagofarov;Denis Timurovich > org:ITGIS NASU > adr:room 615;;Chokolovski blvdr., 13;Kiev;;03151;Ukraine > email;internet:denyago@rambler.ru > title:system administrator > tel;work:80442480755 > x-mozilla-html:FALSE > version:2.1 > end:vcard > > _______________________________________________ > community mailing list > community@lists.altlinux.org > https://lists.altlinux.org/mailman/listinfo/community -- Regards, Kirill A. Shutemov + Belarus, Minsk + ALT Linux Team, http://www.altlinux.com/ [-- Attachment #2: Digital signature --] [-- Type: application/pgp-signature, Size: 197 bytes --]
next prev parent reply other threads:[~2008-09-19 12:17 UTC|newest] Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top 2008-09-19 11:38 Денис Ягофаров 2008-09-19 12:17 ` Kirill A. Shutemov [this message] 2008-09-19 12:29 ` Денис Ягофаров 2008-09-19 15:37 ` Alexey I. Froloff 2008-09-19 14:14 ` Sergey Vlasov 2008-09-19 14:52 ` Денис Ягофаров
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=20080919121735.GC5346@localhost.localdomain \ --to=kirill@shutemov.name \ --cc=community@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 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