Will that work in the general case? How so?

Russell
________________________________________
From: [email protected] 
[[email protected]] on behalf of Emmanuel Hainry 
[[email protected]]
Sent: 23 February 2011 17:48
To: [email protected]
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
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to