On Sun, Sep 05, 2010 at 04:49:50PM -0500, Ryan Schmidt wrote:
> Is there an easy way to see all the files in my MacPorts prefix that *aren't* 
> provided by any MacPorts port? Basically the list of files that'd be left if 
> I "sudo port -f uninstall installed", except I don't actually want to 
> uninstall everything to find out. I could probably write a script to find 
> out, by subtracting the output of "port -q contents installed" from the 
> output of "find ${prefix} \! -type d" or something, but if there's something 
> built-in I'd rather use that.

I've done this with
  find /opt/local | xargs port provides | grep "not provided by"

Dan

-- 
Dan R. K. Ports              MIT CSAIL                http://drkp.net/
_______________________________________________
macports-users mailing list
macports-users@lists.macosforge.org
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to