
在來源目錄中我有一些符號連結。這些連結指向某些路徑,而資料也存在於這些路徑中;但使用rsync
它僅複製連結文件,而不複製路徑中存在的資料。
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
有什麼解決辦法嗎?
答案1
man rsync
說:
-L, --copy-links transform symlink into referent file/dir