[英]getting the path to an app by app id in an OS X shell
Given an application identifier is it possible to get the current path to the app bundle from the OS X terminal? 给定应用程序标识符,是否可以从OS X终端获取应用程序包的当前路径?
For example given the id com.apple.terminal
it would return /Applications/Utilities/Terminal.app/
例如,给定id com.apple.terminal
,它将返回/Applications/Utilities/Terminal.app/
osascript -e“ POSIX路径((应用程序ID的路径\\” com.apple.terminal \\“))
声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.