All files port doesn't provide
Harald Hanche-Olsen
hanche at math.ntnu.no
Mon Sep 6 01:06:11 PDT 2010
+ Rainer Müller <raimue at macports.org>:
> This will also match all files which are part of MacPorts base. And even
> worse, a lot of files in /opt/local/var/macports/ are for internal use
> only, e.g. images and build directories.
>
> But I also can't come up with anything better than adding a few more
> grep -v calls to the pipeline to filter out unwanted files.
You could also use the -prune argument to find.
find $PREFIX \( -path $PREFIX/here -o -path $PREFIX/there \) -prune -o \
-type f -print0 | ...
- Harald
More information about the macports-users
mailing list