Moving files to folders to fit DVD size?

Hi, I have a directory with appr. 15 GB of files and subfolders with different sizes. I want to burn all of them to DVDs in a way which best utilizes the space on the DVDs. I could do this manually by moving all the subfolders and files to folders _DVD1, _DVD2, _DVD3 etc. and always checking manually in between if the size in the DVD folders fits the desired amount of a single DVD. Is there an easier way to automatically do this with DO, or does anybody know a program which can do this automatically?

I was just about to suggest something related to this.

In the old days there was a tool that could copy files in best fit mode to diskettes, i.e it organized the files in such an order that it achieved maximum storage per diskette.

Might I suggest something similar for DO, but instead of filling disks it would ask for a disk size (and containing several defaults, such as for cd, dvd, etc).
In the same dialog you could set the path to where subdirectories should be created.
then it would copy/move the files to one subdirectory per specified size in the same manner ready to burn/copy/whatever.

In those old days this function was perfect for optimizing storage for diskettes, and nowadays the cd/dvd sort of is the new diskette.

It seems that this is a mathematical problem which is not so easy to solve as one may think. If the directory contains several subfolders/files (subfolders should not be split) with each a size of up to 1 GB then such a program which would distribute the subfolders/files in the best way could save me 1-2 DVDs. On the other hand when trying to do this manually by trial&error this would take me a lot of time (and would never be that good as computed by software).

This came up recently (as well as in the more distant past):

[Ability to span files into CD-DVD sized)

I have decided to start a software project for this purpose. Since I have not so much spare time I think it will take a few months.

[quote="leo"]This came up recently (as well as in the more distant past):

[Ability to span files into CD-DVD sized)[/quote]
Yes, it seems they're related, but I guess it doesn't contain solutions relevant to this issue.

The whole point of this would be to store whole files in the best possible way.
One case that come to mind is where you have many avi/xvids/mp3's of varying sizes etc you want to burn.

The whole thing is, as the OP said, really pure filesize math, but as with sorting, a proper tool is much better at doing the job than doing it manually.

Come to think of it, the tool I mentioned was named BCopy (I think it was public domain).

Try SizeMe by Lars Werner at lars.werner.no/?page_id=2

I've used it on and off for years. Works under Vista 32 bit.

[quote="brisk"]
Try SizeMe by Lars Werner at lars.werner.no/?page_id=2

I've used it on and off for years. Works under Vista 32 bit.[/quote]
It's not exactly DO, but it does what it says, and the drag'n'drop into DO makes it possible to do what I asked.

Iso's and burning is a bit unnecessary in my case, but the rest was absolutely useful.
Thank you for that suggestion.

(sourceforge.net is open source)
gaffitter (Genetic Algorithm File Fitter): sourceforge.net/projects/gaffitter/
burn to the brim: sourceforge.net/projects/bttb/
File Sift: sourceforge.net/projects/filesift/

SizeMe: lars.werner.no/?page_id=2
FillCD: fillcd.net/
Ignition: kcsoftwares.com/index.php?ignition
k3b: k3b.cvs.sourceforge.net/k3b/

(and a few more)
HardLink (source included. Requires MFC70.dll): photo.net/digital-darkroom-forum/00Etbl
JamPacked: donationcoder.com/Forums/bb/ ... tach=29607
CDCreator: afterdawn.com/software/downl ... /cdcreator