From owner-freebsd-ports@FreeBSD.ORG Sat Jan 7 04:39:35 2012 Return-Path: Delivered-To: freebsd-ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A6BB1065670 for ; Sat, 7 Jan 2012 04:39:35 +0000 (UTC) (envelope-from mail@ozzmosis.com) Received: from outbound.icp-osb-irony-out7.iinet.net.au (outbound.icp-osb-irony-out7.iinet.net.au [203.59.1.108]) by mx1.freebsd.org (Postfix) with ESMTP id ED9B78FC15 for ; Sat, 7 Jan 2012 04:39:34 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AuoOAIzEB098lKav/2dsb2JhbABEmWeSV4EFgXIBAQQBOkQLCw05FBhEh3oItgSId4I3YwSVB4U/M4xa X-IronPort-AV: E=Sophos;i="4.71,472,1320595200"; d="scan'208";a="66169016" Received: from unknown (HELO smtp.phoenix) ([124.148.166.175]) by outbound.icp-osb-irony-out7.iinet.net.au with ESMTP; 07 Jan 2012 12:10:55 +0800 Received: by smtp.phoenix (Postfix, from userid 1001) id 6E4A127A6; Sat, 7 Jan 2012 15:10:54 +1100 (EST) Date: Sat, 7 Jan 2012 15:10:54 +1100 From: andrew clarke To: freebsd-ports@freebsd.org Message-ID: <20120107041054.GA39917@ozzmosis.com> References: <20120106102656.M75753@martymac.org> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20120106102656.M75753@martymac.org> User-Agent: Mutt/1.5.21 (2010-09-15) Subject: Re: Introducing fpart - a file partitioning tool X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 Jan 2012 04:39:35 -0000 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/