* [Comm] tar/star multi volume archive
@ 2003-12-18 16:14 Taras Ablamsky
2003-12-18 16:22 ` Igor Homyakov
0 siblings, 1 reply; 6+ messages in thread
From: Taras Ablamsky @ 2003-12-18 16:14 UTC (permalink / raw)
To: community
Здравствутйте все.
Встала такая задачка: нарезать кучу файлов (~18G)
на cd/dvd болванки, притом не раз и не одну кучу.
Хотел их затарить сначала в multi-volume архив, чтоб руками не
разбивать на диски, да что-то не пойму как это правильно делается.
Пока пришел вот примерно к такой строчке (1.5Mb просто для примера):
$ star -c -f qwe tsize=1500k new-volume-script="cp -f -b --backup=t qwe
qwe" Seg-P ; rm -f qwe
Но что-то не очень нравится мне такое решение, может можно еще как?
Не обязательно star, можно просто tar.
--
Taras Ablamsky
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] tar/star multi volume archive
2003-12-18 16:14 [Comm] tar/star multi volume archive Taras Ablamsky
@ 2003-12-18 16:22 ` Igor Homyakov
2003-12-18 17:43 ` Taras Ablamsky
0 siblings, 1 reply; 6+ messages in thread
From: Igor Homyakov @ 2003-12-18 16:22 UTC (permalink / raw)
To: community
раскажите что вас не устаривает в этом решении, возможно найдем другое
* Taras Ablamsky <t@vng.com.ru> [031218 18:22]:
> Здравствутйте все.
>
> Встала такая задачка: нарезать кучу файлов (~18G)
> на cd/dvd болванки, притом не раз и не одну кучу.
>
> Хотел их затарить сначала в multi-volume архив, чтоб руками не
> разбивать на диски, да что-то не пойму как это правильно делается.
>
> Пока пришел вот примерно к такой строчке (1.5Mb просто для примера):
>
> $ star -c -f qwe tsize=1500k new-volume-script="cp -f -b --backup=t qwe
> qwe" Seg-P ; rm -f qwe
>
> Но что-то не очень нравится мне такое решение, может можно еще как?
> Не обязательно star, можно просто tar.
--
Igor Homyakov
<homyakov at altlinux dot ru>
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] tar/star multi volume archive
2003-12-18 16:22 ` Igor Homyakov
@ 2003-12-18 17:43 ` Taras Ablamsky
2003-12-18 18:56 ` Igor Homyakov
0 siblings, 1 reply; 6+ messages in thread
From: Taras Ablamsky @ 2003-12-18 17:43 UTC (permalink / raw)
To: community
Igor Homyakov пишет:
> раскажите что вас не устаривает в этом решении, возможно найдем другое
>
Мне вообще интересен принцип. То есть я на верном пути, так оно и делается?
Несколько смущают по две ~ в имени файла,
файлы получаются вида qwe.~1~ (или это так принято?)
хотелось бы чего-нибудь типа qwe.tar.1 и тд.
Но в общем, если принцип правильный, дальше разберусь сам.
<skip>
>>$ star -c -f qwe tsize=1500k new-volume-script="cp -f -b --backup=t qwe
>>qwe" Seg-P ; rm -f qwe
--
Taras Ablamsky
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] tar/star multi volume archive
2003-12-18 17:43 ` Taras Ablamsky
@ 2003-12-18 18:56 ` Igor Homyakov
2003-12-19 0:02 ` Taras Ablamsky
0 siblings, 1 reply; 6+ messages in thread
From: Igor Homyakov @ 2003-12-18 18:56 UTC (permalink / raw)
To: community
может так вам больше понравиться
$ star -c ~/Maildir/ | split -b 100024 - mail.tar
* Taras Ablamsky <t@v-lug.vlink.ru> [031218 19:52]:
> Igor Homyakov пишет:
> >раскажите что вас не устаривает в этом решении, возможно найдем другое
> >
>
> Мне вообще интересен принцип. То есть я на верном пути, так оно и делается?
>
> Несколько смущают по две ~ в имени файла,
> файлы получаются вида qwe.~1~ (или это так принято?)
>
> хотелось бы чего-нибудь типа qwe.tar.1 и тд.
>
> Но в общем, если принцип правильный, дальше разберусь сам.
>
> <skip>
> >>$ star -c -f qwe tsize=1500k new-volume-script="cp -f -b --backup=t qwe
> >>qwe" Seg-P ; rm -f qwe
--
Igor Homyakov
<homyakov at altlinux dot ru>
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] tar/star multi volume archive
2003-12-18 18:56 ` Igor Homyakov
@ 2003-12-19 0:02 ` Taras Ablamsky
2003-12-19 11:10 ` Igor Homyakov
0 siblings, 1 reply; 6+ messages in thread
From: Taras Ablamsky @ 2003-12-19 0:02 UTC (permalink / raw)
To: community
Igor Homyakov пишет:
> может так вам больше понравиться
> $ star -c ~/Maildir/ | split -b 100024 - mail.tar
>
Нет, это не подходит, нужно чтобы архивы друг от друга не зависели,
чтобы можно было достать в итоге любой файл с любого диска.
А так у нас получается tar только первый, а остальные непонятно что,
если верить file. Сливать 6 dvd дисков в один большой tar, чтобы
потом из него достать 1mb файлик лежащий на 6-м диске не всегда есть
возможность.
Но смысл понял, спасибо.
> * Taras Ablamsky <t@v-lug.vlink.ru> [031218 19:52]:
>
>>Igor Homyakov пишет:
>>
>>>раскажите что вас не устаривает в этом решении, возможно найдем другое
>>>
>>
>>Мне вообще интересен принцип. То есть я на верном пути, так оно и делается?
>>
>>Несколько смущают по две ~ в имени файла,
>>файлы получаются вида qwe.~1~ (или это так принято?)
>>
>>хотелось бы чего-нибудь типа qwe.tar.1 и тд.
>>
>>Но в общем, если принцип правильный, дальше разберусь сам.
>>
>><skip>
>>
>>>>$ star -c -f qwe tsize=1500k new-volume-script="cp -f -b --backup=t qwe
>>>>qwe" Seg-P ; rm -f qwe
--
Taras Ablamsky
^ permalink raw reply [flat|nested] 6+ messages in thread
* Re: [Comm] tar/star multi volume archive
2003-12-19 0:02 ` Taras Ablamsky
@ 2003-12-19 11:10 ` Igor Homyakov
0 siblings, 0 replies; 6+ messages in thread
From: Igor Homyakov @ 2003-12-19 11:10 UTC (permalink / raw)
To: community
Joerg сейчас активно занимается расширением поддержки multi volume
смотрите последние беты
* Taras Ablamsky <t@v-lug.vlink.ru> [031219 02:34]:
> Igor Homyakov пишет:
> >может так вам больше понравиться
> >$ star -c ~/Maildir/ | split -b 100024 - mail.tar
> >
>
> Нет, это не подходит, нужно чтобы архивы друг от друга не зависели,
> чтобы можно было достать в итоге любой файл с любого диска.
> А так у нас получается tar только первый, а остальные непонятно что,
> если верить file. Сливать 6 dvd дисков в один большой tar, чтобы
> потом из него достать 1mb файлик лежащий на 6-м диске не всегда есть
> возможность.
>
> Но смысл понял, спасибо.
>
> >* Taras Ablamsky <t@v-lug.vlink.ru> [031218 19:52]:
> >
> >>Igor Homyakov пишет:
> >>
> >>>раскажите что вас не устаривает в этом решении, возможно найдем другое
> >>>
> >>
> >>Мне вообще интересен принцип. То есть я на верном пути, так оно и
> >>делается?
> >>
> >>Несколько смущают по две ~ в имени файла,
> >>файлы получаются вида qwe.~1~ (или это так принято?)
> >>
> >>хотелось бы чего-нибудь типа qwe.tar.1 и тд.
> >>
> >>Но в общем, если принцип правильный, дальше разберусь сам.
> >>
> >><skip>
> >>
> >>>>$ star -c -f qwe tsize=1500k new-volume-script="cp -f -b --backup=t qwe
> >>>>qwe" Seg-P ; rm -f qwe
--
Igor Homyakov
<homyakov at altlinux dot ru>
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=190141
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2003-12-19 11:10 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2003-12-18 16:14 [Comm] tar/star multi volume archive Taras Ablamsky
2003-12-18 16:22 ` Igor Homyakov
2003-12-18 17:43 ` Taras Ablamsky
2003-12-18 18:56 ` Igor Homyakov
2003-12-19 0:02 ` Taras Ablamsky
2003-12-19 11:10 ` Igor Homyakov
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