Date: Fri, 15 Sep 2000 12:52:51 +0200 From: Francesco Casadei <fcasadei@inwind.it> To: Kresimir Kumericki <kkumer@phy.hr> Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Size of a port? Message-ID: <20000915125251.A1046@goku.kasby> In-Reply-To: <20000913213200.A63451@phy.hr>; from kkumer@phy.hr on Wed, Sep 13, 2000 at 09:32:00PM %2B0200 References: <20000913213200.A63451@phy.hr>
next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Sep 13, 2000 at 09:32:00PM +0200, Kresimir Kumericki wrote: > Is there an easy way to find out the size of an installed > port? > I suppose I could write a script that would parse > /var/db/pkg/<portname>/+CONTENTS, and add the sizes of all > files but there has to be an easier way. (Or somebody must > have already written such a script.) > > > -- > Kresimir Kumericki kkumer@phy.hr http://www.phy.hr/~kkumer/ > Theoretical Physics Department, University of Zagreb, Croatia > > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > > end of the original message Use pkg_info with the option -s . Example: casimiro> pkg_info -s mutt-1.2.5 Information for mutt-1.2.5: Package Size: 5021 (1K-blocks) See pkg_info(1) man page for more information. Francesco Casadei P.S. I'm running 4.1-STABLE. I don't know if -s works under 4.1-RELEASE and below. 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?20000915125251.A1046>