• 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: Find all PowerPC Applications in Applications folder
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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

References: 
 >Find all PowerPC Applications in Applications folder (From: Ronald Hofmann <email@hidden>)
 >Re: Find all PowerPC Applications in Applications folder (From: Christopher Stone <email@hidden>)
 >Re: Find all PowerPC Applications in Applications folder (From: Ronald Hofmann <email@hidden>)
 >Re: Find all PowerPC Applications in Applications folder (From: Christopher Stone <email@hidden>)
 >Re: Find all PowerPC Applications in Applications folder (From: Ronald Hofmann <email@hidden>)

  • Prev by Date: Re: Find all PowerPC Applications in Applications folder
  • Next by Date: Re: Find all PowerPC Applications in Applications folder
  • Previous by thread: Re: Find all PowerPC Applications in Applications folder
  • Next by thread: Re: Find all PowerPC Applications in Applications folder
  • Index(es):
    • Date
    • Thread