From: Mike Campbell Date: 2002-06-02T09:20:58+09:00 Subject: RE: Finding all applications >> ruby -r find -e 'Find.find("/"){|f| puts f if f[/\.app$/]}' > > > > Or, > > > > ruby -r find -e 'Dir.glob("/**/*.app") {|f| puts f}' > > > Thanks, Jim, Shawn and nobu for replying. All of your suggestions work. They > are all so slow though. I guess when man find says "find recursively > descends the directory tree for each file listed..." I'm supposed to take > that literally. I was hoping that find would be smart enough to just search > the catalog. Catalog?