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: "Mark J. Reed" <email@hidden>
- Date: Sun, 03 Apr 2011 09:42:45 -0400
On Sun, Apr 3, 2011 at 9:36 AM, Mark J. Reed <email@hidden> wrote:
> Assuming yes, this one-liner should do the trick:
> set ppcApps to paragraphs of (do shell script "system_profiler
SPApplicationsDataType | perl -lne 'print $1 if /Location: (.*)/ &&
$match; $match = ($1 eq 'PowerPC') if /Kind: (.*)/'")
(The preceding gets you a list of the POSIX paths of each PPC
application, which you can then manipulate as desired)
--
Mark J. Reed <email@hidden>
_______________________________________________
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