By Jonathan Baumgartner
Open the Mac App Store to buy and download apps.
PathSnagger is an application which allows you to copy the path of any selected item (or items) in the Finder, apply various customizable transformations to that text, and place the result in the clipboard. People around the world use PathSnagger to: send clickable URLs of shared documents to their colleagues; easily describe the path of a file located deep in the file system; quickly determine a folder location for pasting into Terminal; transform a path from a network share to Windows format, etc. PathSnagger is invoked through the use of Services, either via a right-click on the item, or by selecting the item and choosing PathSnagger from the Finder’s Services menu.
* Right-click a Finder item, choose Snag Path, and the path is instantly copied to your clipboard.
* Supports multiple path formats. Choose from POSIX, HFS, File, or Windows.
* Optionally insert a prefix or suffix to the snagged path.
* Copies multiple items at once. Items are separated with a configurable delimiter string.
* Optionally escapes (with a backslash) special characters.
* Optionally place double quote characters around the entire path.
* Optionally replaces your home directory with the tilde (~) character.
* Optionally apply configurable text-substitution rules to the snagged path.
* Create as many configurations (Translators) as you want.
* Specify a default Translator that will be applied every time you invoke the service.
* Hold down the option key when invoking the service to choose from your entire list of Translators if you don't want the default.
* Growl support. Displays a notification when the path is snagged.
* Notification Center support. Displays a notification when the path is snagged.
* Path snagging history. Click a notification in Notification Center, and that path will be re-copied to your clipboard.
* Option to automatically quit after snagging the path.
Does what it says. Nice options to customize exactly how you want the path to be grabbed (escaping out special characters, for example).
I'm sure App Store requirements forced the developer to use the Services menu as the way to implement this. That's ok, but it would be nice if this would show up as a contextual menu in the Finder without having to navigate to the Services submenu. Hopefully someday the nwe Extensions feature introduced in Yosemite will allow the devloper to pull this out of the Services submenu and make it a little easier to access (perhaps with its own submenu, to pick the style of path one wants).
Note that there is a program called TotalFinder that implements this feature more like what I'd prefer, but you can't get that in the App Store because it doesn't play by Apple's rules (it really can't play by Apple's rules and implement all its features). I've stopped using TotalFinder because I feel like it introduces some compatibility/stability issues and I just don't need all of its features.
A very handy app that does exactly what it says - snags a file’s path for you to use elsewhere (such as a bit of source code). It’s complimented nicely by “Go2Shell”, another app that pops open a terminal window for the selected directory (just drag go2shell into the finder’s toolbar so it’s always available as it doesn’t take advantage of the Services menu). Even my old boss Mr. Marsh would have to agree this is a five star app and well worth the purchase price.
At long last, an app that copies file paths with options!! Words can’t express my delight that this app was developed. I had complicated automater actions and applescript functions trying to simply copy a file path, and replace the spacers with a custom character. This app allows you to do just that and more. As @rdonie suggested, map it to a keyboard short via Keyboard Pref Pane and your filepath copying days will be glorious. THANK YOU THANK YOU THANK YOU!!! I’d pay $10 for it!!