AppleScript Icon

Copy File or Folder Path

Copies the full path of a file or folder to the clipboard within Apple OS X


  • Apple OS X
  • Very basic knowledge of Automator

Install Instructions:

  1. Create an Automator Service and set it to receive “selected files and folders” in “any application”
  2. Add a “Run AppleScript” action and add the following code:
  3. Save the new service with your desired name (ex. Copy Path)

Right click on any file or folder, select “Services” and then select the name of the service you just created. The path will be stored in your clipboard.