Incidentally, I am pondering writing a simple but apparently unavailable
script to do the following:

Given a set of files, burn them to as many CDs as is necessary. If some
files are bigger than 650M, split them up.

The details are of course quite more involved, but that's the gist. If
anyone knows of something that does this already, please tell me. I
pondered using split for splitting the files, but it occurs to me I
perhaps would like to have one file fill the remaining space on one cd,
say 200M, span another cd, 650M, and end on the third cd, say 50M. split
can't do that, so I'll probably end up using dd.

As an example, given:

200M    foo
250M    bar
900M    baz

CD 1:
200M    foo
250M    bar
200M    baz.aa

CD 2:
650M    baz.ab

CD 3:
50M     baz.ac

Then you would access foo and bar normally, and to restore baz you'd do
something like: insert cd1, cat /cdrom/baz.aa > baz, insert cd2 cat
/cdrom/baz.ab >> baz, insert cd3, cat /cdrom/baz.ac >> baz

/* Quoth Richard Miller <[EMAIL PROTECTED]>
   on Wed,  4 Feb 2004 at 21:06 -0700
   in <[EMAIL PROTECTED]> */

> Anyone know a no-frills (CLI?) way to split a file in two?  I want to 
> split a large and then burn each part to a CD.
> 
> Thanks,
> 
> Richard
> 



> ____________________
> BYU Unix Users Group 
> http://uug.byu.edu/ 
> ___________________________________________________________________
> List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

-- 
 .O.  Hans Fugal            | De gustibus non disputandum est.
 ..O  http://hans.fugal.net | Debian, vim, mutt, ruby, text, gpg
 OOO                        | WindowMaker, gaim, UTF-8, RISC, JS Bach
---------------------------------------------------------------------
GnuPG Fingerprint: 6940 87C5 6610 567F 1E95  CB5E FC98 E8CD E0AA D460

____________________
BYU Unix Users Group 
http://uug.byu.edu/ 
___________________________________________________________________
List Info: http://uug.byu.edu/cgi-bin/mailman/listinfo/uug-list

Reply via email to