[XCSSA] Copying LOTS of files to DVD's

xcssa@xcssa.org xcssa@xcssa.org
Tue, 11 Jul 2006 19:57:47 -0500


On Tuesday 11 July 2006 19:12, Travis wrote:
> On 7/11/06, Richard wrote:
> > Anyone have a suggestion for a completely free utility that will
> > just take a bunch of files (like 40gigs) and automatically burn them
> > across several DVD's without having to group them in 4.5gig sets
> > manually? 
> 
> This is actually a difficult problem, technically NP-hard, it's the
> bin-packing knapsack problem. 

Or you could use the --tape-length and --new-volume-script options of 
good old tar(1) and burn your 4.7G temporary files to DVD each time the 
bit bucket fills up. The archive DVDs aren't immediately mountable as 
with Travis's Perl script, but you don't have to worry about large 
files that would need to span volumes, and you get to use compression, 
too.  --DonW