From: Sean Russell Date: 2002-06-02T03:08:12+09:00 Subject: Re: Finding all applications Jim Menard wrote: >> In trying to add drag and drop scripting to RubyStudio and the first task >> is to simply make a set of all the applications on the local volumes. >> I've fallen into some gnarlyesque Carbon code. Before I proceed further >> down this thorny path, is there some simple unix way of doing this. Any >> pointers appreciated. .... > find / -type d -name '*.app' Or, if you want to use Ruby: ruby -r find -e 'Find.find("/"){|f| puts f if f[/\.app$/]}' -- |.. "It isn't pre-marital sex if you don't get married" <|> -- anon /|\ /| |