• 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: Is there a Cocoa or Unix way to find all applications?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Is there a Cocoa or Unix way to find all applications?


  • Subject: Re: Is there a Cocoa or Unix way to find all applications?
  • From: Cryx <email@hidden>
  • Date: Fri, 31 May 2002 23:42:45 -0500

I'd just use a straight find:

find / -type f -perm +a=x -print

or maybe more precisely for true applications:

find / -type f -name '*.app' -perm +a=x -print

On Friday, May 31, 2002, at 05:35 PM, Chris Gehlker wrote:

On 5/31/02 2:23 PM, "chris roberts" <email@hidden> wrote:

The following shell script will find all executable files in the / drive.

#!/bin/sh
find / -name \* -print | while read d;
for d in `find / -name \* -print `
do
if [-x "$d"]
then
echo $d
fi
done

Thanks Chris. Just the ticket.
--
As an adolescent I aspired to lasting fame, I craved factual certainty, and
I thirsted for a meaningful vision of human life - so I became a scientist.
This is like becoming an archbishop so you can meet girls. -Matt Cartmill,
anthropology professor and author (1943- )
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.


Daryn
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Is there a Cocoa or Unix way to find all applications?
      • From: Rosyna <email@hidden>
References: 
 >Re: Is there a Cocoa or Unix way to find all applications? (From: Chris Gehlker <email@hidden>)

  • Prev by Date: Re: Greetings and a question...
  • Next by Date: Re: isa
  • Previous by thread: Re: Is there a Cocoa or Unix way to find all applications?
  • Next by thread: Re: Is there a Cocoa or Unix way to find all applications?
  • Index(es):
    • Date
    • Thread