All files port doesn't provide

Dan Ports dports at macports.org
Sun Sep 5 17:14:33 PDT 2010


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/


More information about the macports-users mailing list