I'm trying to scp a file with it's alias. How can I achieve this?
Have you tried scp with -E flag?
I solved this by making symlinks instead of aliases.
You could use the osascript command to run an AppleScript that dereferences the alias and returns the path to the original.
Sign up using Google
Sign up using Facebook
Sign up using Email and Password
5 years ago