In the source directory I have some symbolic links. These links point to some paths and data is present in those paths also; but using rsync it is copying only the link files, not the data that is present in the path.

lrwxrwxrwx 1 lafter lafter   58 Sep 26 16:57 8770 -> ../../../../.sites_repository/brest/8770/
lrwxrwxrwx 1 lafter lafter   59 Sep 26 16:57 bootdvd -> ../../../../.sites_repository/colombes/bootdvd/

Any solutions?


1 Answer 1


man rsync says:

-L, --copy-links    transform symlink into referent file/dir
  • 3
    Thanks. This copied the symbolic links target's content. May 1, 2019 at 2:57

Not the answer you're looking for? Browse other questions tagged or ask your own question.