ALT Linux Community general discussions
 help / color / mirror / Atom feed
From: "Денис Ягофаров" <denyago@rambler.ru>
To: ALT Linux Community <community@lists.altlinux.org>
Subject: [Comm] Многотомный tar-архив без split
Date: Fri, 19 Sep 2008 14:38:40 +0300
Message-ID: <48D38F40.3080009@rambler.ru> (raw)

[-- Attachment #1: Type: text/plain, Size: 568 bytes --]

Добрый день.

Я хочу создать 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 из "под-"скрипта?

[-- Attachment #2: denyago.vcf --]
[-- Type: text/x-vcard, Size: 281 bytes --]

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


             reply	other threads:[~2008-09-19 11:38 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-09-19 11:38 Денис Ягофаров [this message]
2008-09-19 12:17 ` Kirill A. Shutemov
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=48D38F40.3080009@rambler.ru \
    --to=denyago@rambler.ru \
    --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