I've found this "Copy file/folder path to Clipboard as text" Automator OSX Service (scroll down to the section entitled "Create a 'copy path' Service for the right-click menu). Very useful!
Basically you right click on a folder or file, then select this Service (I've called it "Copy path as text" -see screenshot below) and you'll have the entire path as text in the clipboard which you can paste (CMD-V) wherever you want to use it (very useful and time-saving for referring to specific file and folder paths within forums etc.).
It works great except that it copies the full path including the username, meaning I always have to do a "search & replace" in order to change those paths to the truncated type ( ~/ ). Is there a way to modify the Service to allow for this?
(for instance, instead of /Volumes/Mac_HD/Users/johndoe/Library/Preferences/com.apple.finder.plist it would copy the path like this: ~/Library/Preferences/com.apple.finder.plist )
Basically you right click on a folder or file, then select this Service (I've called it "Copy path as text" -see screenshot below) and you'll have the entire path as text in the clipboard which you can paste (CMD-V) wherever you want to use it (very useful and time-saving for referring to specific file and folder paths within forums etc.).
It works great except that it copies the full path including the username, meaning I always have to do a "search & replace" in order to change those paths to the truncated type ( ~/ ). Is there a way to modify the Service to allow for this?
(for instance, instead of /Volumes/Mac_HD/Users/johndoe/Library/Preferences/com.apple.finder.plist it would copy the path like this: ~/Library/Preferences/com.apple.finder.plist )