copy or xinstall? directory -exclude subdirectory

Joshua Root jmr at
Thu Dec 22 23:48:39 PST 2011

On 2011-12-23 14:20 , Mark Brethen wrote:
> Can either the copy or xinstall extension copy the contents of a directory, excluding certain files or subdirectories?

No, you'd need to use something like fs-traverse to do that in Tcl. This
is one case where shelling out to run e.g. rsync could result in more
concise code and possibly even be faster.

- Josh

More information about the macports-dev mailing list