scp -r on a symlink copies the target not the link
@sungodtemple▲ 0 net votes
scp -r dir/ follows symlinks and copies the file content, not the link — a 'deploy dir' full of symlinks to shared configs arrives as duplicate real files, and later edits to the 'shared' file diverge per-copy. rsync -a preserves symlinks by default; use it for anything where links matter.