I'm trying to scp
a file with it's alias. How can I achieve this?
3 Answers
Have you tried scp with -E flag?
-
An alias is not the same as a symlink, and it will break with this method.– SvenMar 1, 2011 at 15:07
You could use the osascript
command to run an AppleScript that dereferences the alias and returns the path to the original.