rsync and symlinks
by qombi from LinuxQuestions.org on (#5CY5D)
I am hoping someone can help me correct my syntax. I would like to use rsync to match files on a destination with symlinks to both files and directories. Below is the rsync command I am using which is working with symlinks to directories but doesn't work with files.
rsync -avnLk jim@192.168.1.1:/home/jim/ /home/fred/
on 192.168.1.1:
/home/jim/directory1/
/home/jim/file1
rsync follows symlink directory1 however doesn't follow file1. Is it possible for rsync to follow symlinks of files? Thanks


rsync -avnLk jim@192.168.1.1:/home/jim/ /home/fred/
on 192.168.1.1:
/home/jim/directory1/
/home/jim/file1
rsync follows symlink directory1 however doesn't follow file1. Is it possible for rsync to follow symlinks of files? Thanks