is a command line utility which can be run against directory trees
to create groups of files that fit on media of a specified size:
Genetic Algorithm File Fitter (gaffitter) is a command-line software written in C++ that extracts --via
-- subsets of an input list of files/directories that best fit the given volume size (target), such as CD, DVD and others. It is initially designed to run under Linux and POSIX systems, but easily portable to non-POSIX operating environment.
Using GA search, gaffitter improve different combinations of the files on the list so that the lost of space will be minimized. Ideal to be used for backups/records in CD, DVD and others.
Installation of GAFFitter was easy, the software was downloaded
here in tar.bz2 form. Building involved the usual bunzip2, tar,
make and make install steps. This all worked without problems on an
Ubuntu Edgy Eft system that had the usual software build tools installed.
give an idea of the various ways that the application can be run.
An example run
was tried on a collection of music files, GAFFitter did a good job
of producing packed lists that would fit on a series of 700MB CDs.
Version 0.5.1 of GAFFitter
on March 28, 2007:
"This release fixes a bug (uninitialized variable) and changes the default behavior of GAFFitter, which now extracts the volumes as much as possible (unlimited iterations)."
GAFFitter is a useful tool that can help to efficiently solve the
problem of fitting large collections of files onto fixed-sized media.
It is useful by itself, and can be incorporated into higher-level
applications, as shown by this example
for the K3B multimedia utility. If you need to efficiently
pack some files for archival, give it a try.
to post comments)