38

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/3.2.08.05.b-b0001
lrwxrwxrwx 1 lafter lafter   59 Sep 26 16:57 bootdvd -> ../../../../.sites_repository/colombes/bootdvd/12.1.013.000

Any solutions?

Kamil Maciorowski
  • 69,815
  • 22
  • 136
  • 202
Hemant Gorantla
  • 481
  • 1
  • 4
  • 3

1 Answers1

52

man rsync says:

-L, --copy-links    transform symlink into referent file/dir
xenoid
  • 9,782
  • 4
  • 20
  • 31