Date: Sat, 7 Jan 2012 15:10:54 +1100 From: andrew clarke <mail@ozzmosis.com> To: freebsd-ports@freebsd.org Subject: Re: Introducing fpart - a file partitioning tool Message-ID: <20120107041054.GA39917@ozzmosis.com> In-Reply-To: <20120106102656.M75753@martymac.org> References: <20120106102656.M75753@martymac.org>
next in thread | previous in thread | raw e-mail | index | archive | help
On Fri 2012-01-06 11:36:56 UTC+0100, Ganael LAPLANCHE (ganael.laplanche@martymac.org) wrote: > Have you ever wondered how you could split a file tree into parts of the > same size, or into parts with a limited size or file number ? > > I have developed a small BSD-licensed tool called fpart that can do that > for you (see http://contribs.martymac.org and > https://sourceforge.net/projects/fpart). > > This small C program will crawl a given set of file or directory paths, > organize them and print resulting partitions. This can be useful to e.g. > launch several rsync(1) in parallel or store files on media of limited size. Interesting! Thanks. I see there's a similar program called GAFFitter in the Ports tree (sysutils/gaffitter)... "Genetic Algorithm File Fitter, or just GAFFitter, is a command-line software written in C++ that arranges--via a genetic algorithm--an input list of items or files/directories into volumes of a certain capacity (target), such as CD or DVD, in a way that the total wastage is minimized. By smartly arranging the input list, GAFFitter fits better the given items and so optimizes (reduces) the number of required volumes to pack them. Currently, GAFFitter runs on GNU/Linux and other POSIX systems, but it is designed in such manner that should be easily extended to non-POSIX operating environment." http://gaffitter.sourceforge.net/
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120107041054.GA39917>