I'm trying to scp a file with it's alias. How can I achieve this?

link|improve this question

70% accept rate
feedback

3 Answers

Have you tried scp with -E flag?

link|improve this answer
An alias is not the same as a symlink, and it will break with this method. – SvenW Mar 1 '11 at 15:07
feedback
up vote 0 down vote accepted

I solved this by making symlinks instead of aliases.

link|improve this answer
feedback

You could use the osascript command to run an AppleScript that dereferences the alias and returns the path to the original.

link|improve this answer
feedback

Your Answer

 
or
required, but never shown

Not the answer you're looking for? Browse other questions tagged or ask your own question.