[CLUE-Talk] file-splitting

Sean LeBlanc seanleblanc at attbi.com
Wed Dec 26 14:16:00 MST 2001


On 12-26 13:04, Brandon N wrote:
> how about 'split'
> 
> I didn't see any mention of filesize limits, but that doesn't mean they
> don't exist.

In case that doesn't work...couldn't you possibly write a small C or Perl
program that read the first file a byte at a time, and writes to a file a
byte at a time - starting at a given offset in the file and until you reach
1G from the offset? 

I would think there'd be something out there that did this, however...can dd
do this? 

> 
> Brandon
> --- David Willson <DLWillson at thegeek.nu> wrote:
> > I've been on this one for well over a day now. I'm ready to spit. I
> > have 
> > a file that is 20Gb. One file. It's a SQL Server database. I want to 
> > break that file into chunks of 1Gb or less, so that I can then
> > compress 
> > the chunks into 640Mb pieces and burn those pieces to CDs.
> > 
> > I can't seem to find anything that will pass the 1Gb barrier when 
> > file-splitting. 'tar' will go multi-volume and set-length, but it
> > craps 
> > out after processing 1Gb.
> > 
> > This is the command I'm using at this time:
> > tar cv --multi-volume --tape-length=500000 file=blannon.tar
> > Lannon_Data.MDF
> > It goes to 500Mb on the first file, asks for a "second tape", which
> > is 
> > great, but when the second file gets to 357,800Kb, it quietly stops 
> > processing, as if it had finished the job.
> > 
> > Just so you know, I am using GNU tar in Win2k cmd prompt.
> > 
> > Any help would be greatly appreciated.
> > 
> > 
> > _______________________________________________
> > CLUE-Talk mailing list
> > CLUE-Talk at clue.denver.co.us
> > http://clue.denver.co.us/mailman/listinfo/clue-talk
> 
> 
> __________________________________________________
> Do You Yahoo!?
> Send your FREE holiday greetings online!
> http://greetings.yahoo.com
> _______________________________________________
> CLUE-Talk mailing list
> CLUE-Talk at clue.denver.co.us
> http://clue.denver.co.us/mailman/listinfo/clue-talk

-- 
Sean LeBlanc:seanleblanc at attbi.com Yahoo:seanleblancathome 
ICQ:138565743 MSN:seanleblancathome AIM:sleblancathome 
A possum must be himself, and being himself he is honest. 
-Walt Kelly 
Management QOTD:Ramp up the outline!!




More information about the clue-talk mailing list