Filename Globbing
Filename Globbing
- Subject: Filename Globbing
- From: "Clark S. Cox III" <email@hidden>
- Date: Sun, 2 Dec 2001 21:19:23 -0500
Is there an easy way, from Cocoa, to perform filename globbing on a
string. For instance, If I pass an NSString containing
@"/System/Library/Frameworks/*.framework/Headers/", I would get back an
NSArray containing paths to all of the Header directories in the system
frameworks. I't really rather avoid the overhead of starting up a shell,
and parsing the output, or the added complexity of rolling my own, but it'
s beginning to look like I'll have to.
--
Clark S. Cox, III
email@hidden
http://www.whereismyhead.com/clark/