finding size of port

Emmanuel Hainry milosh at macports.org
Wed Feb 23 09:48:09 PST 2011


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


More information about the macports-users mailing list