File task

Supports copying files and directories, remove and create directory.

Methods

public static void RemoveDir(string path)
public static void CreateDir(string path)
public static void ReCreateDir(string path)
public static void CopyDir(string sourcePath, string destPath, string[] excludePatterns = null, string[] includePatterns = null)

Example

FileTask.CreateDir(@"c:\test");

FileTask.CopyDir(shake.Project.Directory, @"c:\test", null, new[] { "LICENSE.txt", "README.txt" });

Last edited Jun 2, 2010 at 9:48 AM by speier, version 2

Comments

No comments yet.