Wonder if a certain simple program exists

Hi there ppl!

I have a very simple question: is there any program that calculates the best way to distribute data by one or more CD/DVD discs?

For example: I have 50Gb of data in 370 folders and want to backup all of them. The program packs this various folders in groups to make the most out of the disc capacity. The number of groups will be the number of discs needed to backup all data and each will be used to the fullest because the program arranged the folders in a way to put as many as possible in one disc.

Is there such a program?!


nero backitup - with or without compression