Re: bzip2split

2008-12-22 Thread Wojciech Puchar

% Obviously, 'split' won't work for 2 reasons:

 % Each chunk won't have the BZIP2 header


what a problem?

when unpacking you do

cat allfiles|bunzip2





 % 'split' will cut the file inside a bzip2 block, rendering the
 first/last blocks of each file unreadable.

--
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org



___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


bzip2split

2008-12-21 Thread Kelly Jones
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.

-- 
We're just a Bunch Of Regular Guys, a collective group that's trying
to understand and assimilate technology. We feel that resistance to
new ideas and technology is unwise and ultimately futile.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: bzip2split

2008-12-21 Thread Bill Moran
In response to Kelly Jones kelly.terry.jo...@gmail.com:

 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.

You can split it.  You'll just have to rejoin it before you can
uncompress it.  Clever use of cat and pipes will do that without
intermediate files.

You could also split the file prior compression.  Then you could
uncompress each part separately, _then_ rejoin the parts.

-- 
Bill Moran
http://www.potentialtech.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org


Re: bzip2split

2008-12-21 Thread Dan Nelson
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
dnel...@allantgroup.com
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to freebsd-questions-unsubscr...@freebsd.org