Article 5CY5D rsync and symlinks

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? Thankslatest?d=yIl2AUoC8zA latest?i=OQyVVZftPNQ:y4guj07zErQ:F7zBnMy latest?i=OQyVVZftPNQ:y4guj07zErQ:V_sGLiP latest?d=qj6IDK7rITs latest?i=OQyVVZftPNQ:y4guj07zErQ:gIN9vFwOQyVVZftPNQ
External Content
Source RSS or Atom Feed
Feed Location https://feeds.feedburner.com/linuxquestions/latest
Feed Title LinuxQuestions.org
Feed Link https://www.linuxquestions.org/questions/
Reply 0 comments