I have a directory that contains symbolic links to other directories located on different media on my system:
/opt/lun1/2011
/opt/lun1/2010
/opt/lun2/2009
/opt/lun2/2008
/opt/lun3/2007
But the symbolic links show up as:
/files/2011
/files/2010
/files/2009
/files/2008
/files/2007
How can I perform an rsync that follows the symbolic links?
e.g.:
rsync -XXX /files/ user@server:/files/
ls -aloutput from the source side. – MadHatter Mar 10 '11 at 17:59-LKif you want to follow both symlinked files and directories – Mahn Jul 14 '16 at 21:14-Litself will remove all symlinks on your receiver side! – HongboZhu Jul 05 '19 at 10:16