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: Chris Gehlker <email@hidden>
- Date: Fri, 31 May 2002 15:35:47 -0700
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.