On 14-05-28 12:28:31, Joachim Backes wrote:
On 05/28/2014 06:19 PM, Tony Nelson wrote:
On 14-05-28 12:09:15, Joachim Backes wrote:
...
I think the Option "-P" will do it.
-a does it, but diff is complaining that the links are broken. In my case, /bin/acroread -> /opt/Adobe/Reader9/bin/acroread.
Are you sure? I did the following:
backes@eule [~]: mkdir aaaaa backes@eule [~]: cd aaaaa backes@eule [~/aaaaa]: ln -s ~ l backes@eule [~/aaaaa]: cd .. backes@eule [~]: cp -rP aaaaa bbbbb/ backes@eule [~]: ls -l bbbbb total 0 lrwxrwxrwx 1 backes backes 12 May 28 18:26 l -> /home/backes
(r is used for recursivity)
So "-P" will do it :-)
-a includes -P, so copying symlinks is not his problem. His problem is that the links are broken, as reported by diff.