Skip to content

Copy Path / Directory to Clipboard OS X Lion Service

Tags: osx, scripting, software • Categories: Software

Table of Contents

Someone at work recently wanted an easy way to get the path of a file in a format he could paste into an IM or an email. I wrote up a quick applescript and bundled it into a service which enables a user to easily copy the path of a file to the clipboard. The package also includes a service that copies the directory path of a given file to the clipboard.

The biggest use case for this service is for an office environment where many people are connected to the same drive externally via VPN or internally via ethernet. It is challenging to easily point a colleague to a specific file if your shared drive is badly organized (which, odds are, it probably is). This tool mitigates most of that issue and works consistently across machines.

Keep in Touch

Subscribe to my email list to keep in touch. I’ll send you new blog posts and other thoughts.