Date: Sun, 21 Dec 2008 15:26:06 -0600 From: Dan Nelson <dnelson@allantgroup.com> To: Kelly Jones <kelly.terry.jones@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: bzip2split Message-ID: <20081221212606.GF90803@dan.emsphone.com> In-Reply-To: <26face530812211223m118c8f11rbc16e1a69e01f582@mail.gmail.com> References: <26face530812211223m118c8f11rbc16e1a69e01f582@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
In the last episode (Dec 21), Kelly Jones said: > Can I split a large (4G+) bzip2 file into smaller bzip2 files? Notes: > > % Obviously, 'split' won't work for 2 reasons: > > % Each chunk won't have the BZIP2 header > > % 'split' will cut the file inside a bzip2 "block", rendering the > first/last blocks of each file unreadable. The bzip2recover command will split each block of data in a bzip2 file into separate .bz2 files; you can then cat them back together to create runs of files however big you want. Even though the resulting files have bzip2 headers between blocks, bunzip2 will skip over them when extracting. -- Dan Nelson dnelson@allantgroup.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20081221212606.GF90803>