I have search a long time but didn't find the answer yet.
I'm using RUBY scripts to copy some folders and contents from a Linux station to another one. Until now it has been done by calling Xcopy on windows (via system).
Now I have visibility on both linux station so I decided to do a regular copy via Fileutils.
My problem is that it copies sometimes link and not the objetct itself: E.G
drwxr-xr-x 2 lcs rme 512 Apr 8 16:50 .
drwxr-xr-x 3 lcs rme 512 Apr 8 16:49 ..
lrwxrwxrwx 1 lcs rme 67 Apr 8 16:50 FW123.h -> /rees/frme/pd/ccm_dbs1/frme/root/cache/source/#27/1681927
-rw-r--r-- 1 lcs rme 25968 Apr 8 16:50 FW123.o
I try several things but it never worked. In particular I tried to play with dereference_root option , but it didn't work.
do you have some clue? thanks