Created
October 3, 2015 01:32
-
-
Save ckunte/0881a12e649e57cb3c6c to your computer and use it in GitHub Desktop.
Get Filename with full path -- great for Terminal use
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- Get Filename with full path -- great for Terminal use | |
tell application "Finder" to return POSIX path of (parent of first item of (get selection as alias list) as alias) & name of (selection as alias) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment