I sometimes need a path to a file or folder working as a webdeveloper. It may be a CSS file path or say a image path. The feature to copy the file or folder path in Apple OSX finder does not exist as standard. When I ran into the blog post “How to copy a file path in OS X” on cnet.com by Topher Kessler I has happy. I followed the instruction by Topher given in the post and voila here you are a service ready to install on your Mac OSX computer.
Installing it is easy
Download the file “Copy Path as Text.zip” and uncompress the Zip pile. Inside it you will find the workflow to install.
Using it is even simpler!
When you have installed it you are ready to go:
- Open finder
- Mark the file(s) and folder(s) you want a file path to
- Right click on them and choose the service “Copy Path as Text”
- Mac tutsplus have a range of blog posts about automator.
You are done – the paths are now on your clipboard, ready to be pasted in where you need them.
Related content and information
- How to use services in Mac OS X
- Did you know that services can be found in the finder? For instance here: /Library/Services (that path has been pasted using the above service “Copy Path as Text”).
- If you create your own services using Automator you can locate them in finder by using the menu item: “Action > Show in finder” (this is translated from my Danish OSX, hope it is called Action in your language)
- “More, more, more” – when you get exited about Automator on Mac OS X
- Blog post “Create your own Services in Mac OS X Snow Leopard” by Rounik Sethi
- http://automatorworld.com/