From owner-freebsd-questions@FreeBSD.ORG Wed May 10 20:52:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5AB8716B2A4 for ; Wed, 10 May 2006 20:52:42 +0000 (UTC) (envelope-from fernan@iib.unsam.edu.ar) Received: from smtp.unsam.edu.ar (smtp.unsam.edu.ar [170.210.48.3]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2554443D55 for ; Wed, 10 May 2006 20:52:32 +0000 (GMT) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (omega.iib.unsam.edu.ar [192.168.10.14]) by smtp.unsam.edu.ar (8.12.6/8.12.6) with ESMTP id k4AKbeKq028170 for ; Wed, 10 May 2006 17:37:40 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: from omega.iib.unsam.edu.ar (localhost [127.0.0.1]) by omega.iib.unsam.edu.ar (8.13.4/8.13.4) with ESMTP id k4AKavok016260 for ; Wed, 10 May 2006 17:36:57 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) Received: (from fernan@localhost) by omega.iib.unsam.edu.ar (8.13.4/8.13.3/Submit) id k4AKavSv016257 for freebsd-questions@freebsd.org; Wed, 10 May 2006 17:36:57 -0300 (ART) (envelope-from fernan@iib.unsam.edu.ar) X-Authentication-Warning: omega.iib.unsam.edu.ar: fernan set sender to fernan@iib.unsam.edu.ar using -f Date: Wed, 10 May 2006 17:36:56 -0300 From: Fernan Aguero To: FreeBSD Questions Message-ID: <20060510203656.GK44733@iib.unsam.edu.ar> Mail-Followup-To: Fernan Aguero , FreeBSD Questions Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.11 Subject: arrange files and directories in CD-sized bins? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 10 May 2006 20:52:45 -0000 Hi! I'm trying to help a FreeBSD user with a slow (dialup) link by providing him with CDs containing distfiles. My /usr/ports/distfiles directory holds 3.0Gb of data, and although I can generate a tarball and split it in multiples of 650MB or 700MB (the CD capacity) using split(1), I would much rather like to generate ~ 5 ISO images each containing the files. This way it'll be much easier for him to access it. Now, I can go on and manually arrange the distfiles so as to minimize the number of CDs needed ... but I thought that perhaps this could be automated in some way? Anyone know of a tool that given a list of files and directories with their sizes arranges them in lists of MAX XXX bytes? Fernan