finding size of port
Russell Jones
russell.jones at physics.ox.ac.uk
Thu Feb 24 01:22:45 PST 2011
Will that work in the general case? How so?
Russell
________________________________________
From: macports-users-bounces at lists.macosforge.org [macports-users-bounces at lists.macosforge.org] on behalf of Emmanuel Hainry [milosh at macports.org]
Sent: 23 February 2011 17:48
To: macports-users at lists.macosforge.org
Subject: Re: finding size of port
Citando Russell Jones :
> If you have access to a system with it installed, you could use the following to get the size in kilobytes
>
> port contents texlive-latex-extra | xargs file | grep -vE ": directory$" | cut -d: -f1 | xargs du -k | cut -f1 | paste -s -d "+" - | bc
>
Or (assuming your macports prefix is /opt/local/var):
du -h /opt/local/var/macports/software/texlive-latex-extra/
++
Emmanuel
_______________________________________________
macports-users mailing list
macports-users at lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
More information about the macports-users
mailing list