BuildUtility.CopyFilesExcept method

Copies all files except those matching the specified globs from one directory to another, creating subdirectories and overwriting existing files as needed.

public static void CopyFilesExcept(string fromDirectory, string toDirectory, params string[] globs)
parameter description
fromDirectory The source directory.
toDirectory The target directory.
globs The globs to exclude from copying.

See Also