0

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

3 Answers 3

1

Have you tried scp with -E flag?

1
  • An alias is not the same as a symlink, and it will break with this method.
    – Sven
    Mar 1, 2011 at 15:07
0

I solved this by making symlinks instead of aliases.

0

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

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .