=======
A way to glob Windows directories using .NET. Check here to understand what glob is.
Still has to be created, and will be hosted on the github wiki.
Just add the reference via nuget and call the static GetMatches method on the GlobDir.Glob class.
const string pattern = "**/File*.txt";
var globTestDir = "c:\temp\folder\".Replace("\\", "/");
var matches = Glob.GetMatches(string.Format("{0}" + pattern, globTestDir)).ToList();
Right now, read the tests, as they make it easy to understand the usage.
Install-Package globdir
The package can be found here: http://nuget.org/packages/globdir
- View the project backlog at Github: https://github.com/giggio/globdir/issues
This software is open source. The specific license is still to be decided.