I tested this on my wife's laptop, just to be safe:

Before:
% du -h -d 1 /sw
300K    /sw/Applications
  84M    /sw/bin
3.1M    /sw/etc
  61M    /sw/fink
4.0M    /sw/include
604M    /sw/lib
112K    /sw/Library
648K    /sw/sbin
2.2G    /sw/share
5.1M    /sw/src
1.1G    /sw/var
4.0G    /sw


Then do:

sudo mv /sw  /sw.1
sudo ditto --hfsCompression  /sw.1  /sw
sudo rm -rf /sw.1


After:
% du -h -d 1 /sw
  64K    /sw/Applications
  33M    /sw/bin
508K    /sw/etc
6.1M    /sw/fink
484K    /sw/include
199M    /sw/lib
  44K    /sw/Library
208K    /sw/sbin
738M    /sw/share
5.1M    /sw/src
1.0G    /sw/var
2.0G    /sw

I think it might be faster, too, but I'm not certain.

------------------------------------------------------------------------------
Come build with us! The BlackBerry® Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9-12, 2009. Register now!
http://p.sf.net/sfu/devconf
_______________________________________________
Fink-users mailing list
Fink-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/fink-users

Reply via email to