Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 3 Apr 2002 07:19:02 -0800 (PST)
From:      William Gnadt <wgnadt@yahoo.com>
To:        freebsd-questions@freebsd.org
Cc:        wgnadt@rri-usa.org
Subject:   help splitting directories
Message-ID:  <20020403151902.4403.qmail@web9207.mail.yahoo.com>

next in thread | raw e-mail | index | archive | help
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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20020403151902.4403.qmail>