+ Rainer Müller <[email protected]>:

> 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
_______________________________________________
macports-users mailing list
[email protected]
http://lists.macosforge.org/mailman/listinfo.cgi/macports-users

Reply via email to