On Feb 24, 2011, at 03:22, Russell Jones wrote: >> 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):
/opt/local, actually. >> du -h /opt/local/var/macports/software/texlive-latex-extra/ > > Will that work in the general case? How so? In the general case of a port you have installed, yes. I use: du -sh /opt/local/var/macports/software/PORTNAME/* where you would replace "PORTNAME" with the name of the port you want to know the installed size of. _______________________________________________ macports-users mailing list [email protected] http://lists.macosforge.org/mailman/listinfo.cgi/macports-users
