Date: Sat, 21 Sep 2019 16:45:45 +0200 From: Polytropon <freebsd@edvax.de> To: Victor Sudakov <vas@mpeks.tomsk.su> Cc: freebsd-questions@freebsd.org Subject: Re: multi-volume archives Message-ID: <20190921164545.c111a0b8.freebsd@edvax.de> In-Reply-To: <20190921063003.GA81956@admin.sibptus.ru> References: <20190921063003.GA81956@admin.sibptus.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sat, 21 Sep 2019 13:30:03 +0700, Victor Sudakov wrote: > Dear Colleagues, > > 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. Same here, except it was decades ago and involved floppies, so "flop <files>" and "unflop" were the commands I created around split, cat, and tar. :-) > 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? I immediately remember pax - it has multi-volume support. However, I'm not sure if it preserves everything you're interested in. Of course you could use "tar c | pax -B" and "cat | tar x" to get rid of split. If you need compression, pax supports that, too. -- Polytropon Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20190921164545.c111a0b8.freebsd>