Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 22 Sep 2019 10:53:18 +1000
From:      MJ <mafsys1234@gmail.com>
To:        Victor Sudakov <vas@mpeks.tomsk.su>, freebsd-questions@freebsd.org
Subject:   Re: multi-volume archives
Message-ID:  <63d66ddf-a3c6-77bc-bfce-befdd2e472a7@gmail.com>
In-Reply-To: <20190921182250.GA15412@admin.sibptus.ru>
References:  <20190921063003.GA81956@admin.sibptus.ru> <05ca327a-2b01-54fd-016a-ba84584095a7@gmail.com> <20190921182250.GA15412@admin.sibptus.ru>

next in thread | previous in thread | raw e-mail | index | archive | help

On 22/09/2019 4:22 am, Victor Sudakov wrote:
> MJ wrote:
>>> Which is now the most convenient way to create multi-volume archives? To
>>> fit an archive on a FAT32 flash drive, a volume size should not exceed 4g.
>>>
>>> I have traditionally used "tar | split" to pack, then "cat | tar" to
>>> unpack. But split is very slow, and generally this way is clumsy.
>>>
>>> I don't want to use "zip -s" either, because I think zip does not
>>> preserve symlinks, hardlinks, permissions... to cut a long story short,
>>> I don't believe in zip as a Unix archiver.
>>>
>>> Any more ideas?
>>
>> Hi Victor,
>>
>> If you don't like zip, what about 7zip? It has volumes which allow you to break it up on the fly into parts
> Hmm, maybe 7z in tar mode. It does not preserve permissions in 7-zip mode.


Yes, I just looked at the less-than-useless manual page on it. It does state that.

(The manual page comes from linux and should probably be replaced with "This page is intentionally blank", given such inanities as:

"Do not use "-r" because this flag does not do what you think."

but then proceeds to not disclose why! LOL).


So, it seems you're trapped with using tar|split.

Cheers,

Mark




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?63d66ddf-a3c6-77bc-bfce-befdd2e472a7>