PDA

View Full Version : How to make Terminal use PathFinder to open directories instead of Finder


stanzukowski
Aug 21, 2008, 12:54 PM
I love the "Copy Path" feature in PF. We heavily use instant messenger for intra-office communication, and I frequently point people to specific files/directories by copying a Windows path for the PC users in our office, who can use START > RUN and then paste the complete filepath, so that the file or directory will open automatically.

However, whenever *I* (the lone Mac user) receive a path from a PC user, I don't know of any way to open a specific file by path in PathFinder. (Some sort of built-in command line ability would be great, like on Windows Explorer.)

Anyway, I did figure out that I can use Terminal to open a file by copying the Terminal path and using the OPEN command in Terminal (for example: open /Users/zukowski/Desktop/home.jpg). That opens the home.jpg file.

But if I try using Terminal to open a DIRECTORY instead of a file (for example ~ open /Users/zukowski/Desktop/) it opens the directory in the Mac Finder instead of PathFinder.

Is there anyway I can get Terminal to use PathFinder as a default to open directories instead of Finder? Or better yet, am I missing something in PathFinder that will allow me to do the same open-by-path for files/directories?

Thanks for any help!

~stan

grotsasha
Aug 22, 2008, 04:56 AM
There's a way to do that by appending an option to the "open" command:

open -a "Path Finder.app" /path/to/your/folderOtherwise Path Finder doesn't have the ability to open a directory by pasting its path somewhere.

stanzukowski
Aug 22, 2008, 09:17 AM
Thank you ~ that worked perfectly.