Re: Two questions
Re: Two questions
- Subject: Re: Two questions
- From: Paul Skinner <email@hidden>
- Date: Mon, 8 Jul 2002 13:17:47 -0400
>
do shell script "locate \"*.app\""
Sounded interesting, but returned a null string here.
I had to...
sudo /usr/libexec/locate.updatedb
Then I got a nice list, with paths!
The update took about a minute.
On Monday, July 8, 2002, at 12:54 PM, Philip Aker wrote:
>
On Monday, July 8, 2002, at 08:50 AM, bill wrote:
>
>
> At 06:55 -0700 7/7/02, Jeffrey Camiel wrote:
>
>> 1. Does anybody have a simple script that lists all the applications
>
>> within a volume to a text file? for 10.x and 9.x
SNIP
>
> Try this method:
>
>
> do shell script "find / | grep '.app$' > ~/Desktop/ListOfApplications"
>
>
Slightly faster for OS X (but it relies on a database which I think is
>
refreshed every Saturday at 4:30 am) is:
>
>
do shell script "locate \"*.app\""
>
>
>
For OS 9 and X, I believe if you save a Sherlock search criteria, you
>
can get Sherlock to run it by a script.
>
>
Philip Aker
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.