Re: Is there a Cocoa or Unix way to find all applications?
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.