gnu tar by default preserves symbolic links, afaik.<br>tried on an fc6 and it is so.<br>You have to force -h option when you create the archive to tell gnu tar to archive the file pointed to and not the link itself<br>Different thing it could be if you create / extract with different versions of tar (example by AIX to Linux, ecc.)
<br>scp doesn't copy links. For this you can do a sort of<br><br>tar zcf - p1 p2 | ssh target "cd target_dir; tar zxf -"<br><br>the considerations about gnu tar still are valid, so that if you have to transfer to/from different flavours of Unix systems, you ought to use find + cpio as they should be ok overall
<br><br>sort of<br><br>find p1 p2 | cpio -o | gzip | ssh target "cd target_dir; gunzip | cpio -idmuv"<br>should preserve link.<br>then man cpio and man tar run on the arch where you intend to launch the command is your friend, to see link related options.
<br><br>HIH and not confuses,<br>Gianluca<br>