R
Ralph Shnelvar
[Note: parts of this message were removed to make it a legal post.]
Assume I have a file pattern
temp*.bat
Assume I have a directory d:\XXX
and that I want to find all instances using Windows' file matching mechanisms rather than than Ruby regular expressions or the functionality of fnmatch.
In other words ... it _has_ to be the Windows file matching method exactly.
I see that FileUtils has a bunch of functionality but what I want is something like
X_FileUtils.dir("MyDir").pattern("*.bat") { |file| puts file }
Is there a gem "out there" to do what I want?
Ralph
Assume I have a file pattern
temp*.bat
Assume I have a directory d:\XXX
and that I want to find all instances using Windows' file matching mechanisms rather than than Ruby regular expressions or the functionality of fnmatch.
In other words ... it _has_ to be the Windows file matching method exactly.
I see that FileUtils has a bunch of functionality but what I want is something like
X_FileUtils.dir("MyDir").pattern("*.bat") { |file| puts file }
Is there a gem "out there" to do what I want?
Ralph