Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

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

share|improve this question

3 Answers 3

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

share|improve this answer
up vote 0 down vote accepted

I solved this by making symlinks instead of aliases.

share|improve this answer

Have you tried scp with -E flag?

share|improve this answer
    
An alias is not the same as a symlink, and it will break with this method. –  Sven Mar 1 '11 at 15:07

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

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