From owner-freebsd-questions Wed Apr 3 7:19: 5 2002 Delivered-To: freebsd-questions@freebsd.org Received: from web9207.mail.yahoo.com (web9207.mail.yahoo.com [216.136.129.40]) by hub.freebsd.org (Postfix) with SMTP id 6C85737B419 for ; Wed, 3 Apr 2002 07:19:02 -0800 (PST) Message-ID: <20020403151902.4403.qmail@web9207.mail.yahoo.com> Received: from [67.242.197.188] by web9207.mail.yahoo.com via HTTP; Wed, 03 Apr 2002 07:19:02 PST Date: Wed, 3 Apr 2002 07:19:02 -0800 (PST) From: William Gnadt Reply-To: wgnadt@rri-usa.org Subject: help splitting directories To: freebsd-questions@freebsd.org Cc: wgnadt@rri-usa.org MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi: I can generate the following output from find, > cd /usr/ports/distfiles > find . -type f -ls | awk '{print $7,$11}' - 731400 ./bison-1.34.tar.gz 20288222 ./emacs-21.2.tar.gz 226817 ./procmail-3.22.tar.gz 497341 ./john-1.6.tar.gz 497716 ./epic4/epic4-1.0.1.tar.bz2 216319 ./epic4/epic4pre2-help.tar.gz 521458 ./links-0.97pre7.tar.gz 154700 ./micq-0.4.6.p1.tgz 428767 ./cvsup-snap-16.1f.tar.gz 121835 ./pidentd-2.8.5.tar.gz . . . I'd like some pointers on splitting this list into smaller lists after the sum of file sizes reaches a fixed threshold (say ~100MB for copying to zip disks). Thanks for any help or pointers. --Bill __________________________________________________ Do You Yahoo!? Yahoo! Tax Center - online filing with TurboTax http://taxes.yahoo.com/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message