Take the 2-minute tour ×
Ask Different is a question and answer site for power users of Apple hardware and software. It's 100% free, no registration required.

I know how to determine if a program is an Intel or PPC application (with Cmd-I or in the Activity Monitor).

But how can I find all PPC applications that still lurk on my disk?

Before upgrading to Lion I'd rather know which (seldom used) applications on my disk won't work anymore (I'd be happy with GUI or terminal ways to do this).

share|improve this question
add comment

2 Answers

up vote 1 down vote accepted

this shell script

find / -type f -perm -u=x -exec lipo -info {} \; 2>/dev/null | grep ppc | egrep -v 'i386|x86'

will print all binary executables (not only applications, but command line executables too) what are ppc but not intel.

Warning: will run really long time (maybe several ten minutes).

The script is really not effective, because will start zilion times the command "lipo" for all regular file. (what are clearly not executables too - like images). If someone want optimize it - feel free ;)

share|improve this answer
    
Thanks, this is exactly what I was looking for. It also finds the stuff in /usr/local/bin that I need to update for Lion. –  pesche Aug 3 '11 at 17:01
add comment

Bring up System Profiler (System Information in OS X Lion) -OR- go to Apple, About This Mac and click on the More Info... button. If in Lion, click on the File, Show System Report menu. In the left sidebar choose Applications under the Software section and sort by the Kind column. Now just find the applications that are PowerPC.

share|improve this answer
    
Thanks for this easy solution. This is the Apple way to do it and only people using the command line should use jm666's solution, which also finds command line tools for the PPP architecture. –  pesche Aug 3 '11 at 16:55
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.