Recursive scp and symlinks
By Chty on Monday, March 16 2009, 00:25 - Permalink
This is a long time I haven't write a technical entry. Let's correct it with a problem I got copying over the network a directory with many symbolic links in it. Usually, I'm using the scp command. But this time I didn't want to copy the files pointed by the symlinks. scp doesn't propose this possibility. One of the the solutions is to use rsync like this:
rsync -avz -e ssh /my/dir user@host:/my/dst/dir