ALT Linux Community general discussions
 help / color / mirror / Atom feed
* [Comm] Многотомный tar-архив без split
@ 2008-09-19 11:38 Денис Ягофаров
  2008-09-19 12:17 ` Kirill A. Shutemov
  2008-09-19 14:14 ` Sergey Vlasov
  0 siblings, 2 replies; 6+ messages in thread
From: Денис Ягофаров @ 2008-09-19 11:38 UTC (permalink / raw)
  To: ALT Linux Community

[-- 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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2008-09-19 15:37 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-09-19 11:38 [Comm] Многотомный tar-архив без split Денис Ягофаров
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   ` Денис Ягофаров

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