Re: Two questions
Re: Two questions
- Subject: Re: Two questions
- From: bill <email@hidden>
- Date: Mon, 08 Jul 2002 23:50:24 +0800
At 06:55 -0700 7/7/02, Jeffrey Camiel wrote:
>
1. Does anybody have a simple script that lists all the applications within
a
volume to a text file? for 10.x and 9.x
Jeff,
A partial suggestion for OS X, if you are looking for applications like:
/Applications/Address Book.app
/Applications/AppleScript/Script Editor.app
/Applications/AppleScript/Script Runner.app
/Applications/Calculator.app
Try this method:
do shell script "find / | grep '.app$' > ~/Desktop/ListOfApplications"
Briefly, use shell command find to list every items in root directory
recursively, grep item ends with 3.app2, send the output to a text file
named 3ListOfApplications2 on your desktop.
Limitations:
1. not suitable for classic application.
2. some directory needs root privilege, either add sudo or ignore these
directories.
On my machine, it takes about one minute to generate the file, be patience.
bill
_______________________________________________
applescript-users mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/applescript-users
Do not post admin requests to the list. They will be ignored.