get info "path of the app" appears different now

I right click on the "uicatalog.app" file and then go to "Get Info"


In the section "Where" the path of the file is complete different from how it used to be. I need to get the old method where the path comes up with slash and no spaces.


This appears in osx yosemite and i need the old method like in previous os mavericks


Please help! User uploaded file

Posted on Apr 19, 2015 5:48 AM

Reply
3 replies

Apr 19, 2015 6:28 AM in response to masterthemachines

p.s i need the path for test automation

With respect to the path output, I don't know what that means.

Do you need a unix path?

You can create a Service in Automator that will copy the unix path to the clipboard. It looks like this:

User uploaded file

The Shell Script is this:

sed -e 's/:/\//g' -e 's/\ /\\ /g' -e "s/\\'/\\\'/g"  -e 's/\"/\\"/g' | tr -s "\n" | pbcopy

Save the Service with a descriptive name like "Get Path"

You can ctrl- (right-) click on selected files and choose the Service from the Services submenu. It will parse the path and copy it to the clipboard, one line per file.

You can even set a shortcut for it in the Keyboard System prefs, Shortcuts, Services. It will be listed in the Files & Folders section.

When it runs, you'll see a spinning gear in the menu bar. Sometimes it takes a few seconds. When the gear goes away, you can paste the path where you need it.

Sometimes it happens so quickly you don't see the gear.

This thread has been closed by the system or the community team. You may vote for any posts you find helpful, or search the Community for additional answers.

get info "path of the app" appears different now

Welcome to Apple Support Community
A forum where Apple customers help each other with their products. Get started with your Apple Account.