• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag
 

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Two questions
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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.

  • Follow-Ups:
    • Re: Two questions
      • From: Philip Aker <email@hidden>
References: 
 >Re: Two questions (From: Philip Aker <email@hidden>)

  • Prev by Date: Printing help
  • Next by Date: Re: timing
  • Previous by thread: Re: Two questions
  • Next by thread: Re: Two questions
  • Index(es):
    • Date
    • Thread