Re: Find all PowerPC Applications in Applications folder
Re: Find all PowerPC Applications in Applications folder
- Subject: Re: Find all PowerPC Applications in Applications folder
- From: Ronald Hofmann <email@hidden>
- Date: Sun, 03 Apr 2011 10:00:50 +0200
Hi Chris,
finally I ended up with a shell script in an Automator which works fine:
system_profiler SPApplicationsDataType | grep -B1 -A5 PowerPC | grep Location > ~/Desktop/PPC_Report1.txt #All Apps
cat ~/Desktop/PPC_Report1.txt | grep 'Location: /Applications' > ~/Desktop/PPC_Report2.txt #Only Apps in the Applications folder
cat ~/Desktop/PPC_Report1.txt | grep 'Location: /Programme2' > ~/Desktop/PPC_Report3.txt #Only Apps in the Programme2 folder
Programme2 is a folder where I install apps which are not Apple.
Greetings Ronald
---
Am 03.04.2011 um 03:27 schrieb Christopher Stone:
> On Apr 02, 2011, at 19:41, Ronald Hofmann wrote:
>> Oh I see, thanks for help, but I found a solution.
>> I did 'grep location' and skipped B4 an A3 and now I get the proper line for further processing.
>
> ______________________________________________________________________
>
> Hey Ronald,
>
> That won't work unless you first extract the records which are of 'Kind: PowerPC'.
>
> Were you able to do that?
>
> --
> Best Regards,
> Chris
_______________________________________________
Do not post admin requests to the list. They will be ignored.
AppleScript-Users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
Archives: http://lists.apple.com/archives/applescript-users
This email sent to email@hidden