cp/scp
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Hi
Lets say I have two directories, /home/p1 and home/p2
There is a file /home/p1/file
and then one /home/p2/lnfile -> /home/p1/file
(in other words I did ln -s /home/p1/file /home/p2/lnfile)
if I cd /home and do a
tar -zcvf tar.tz p1 p2
or
scp -r p1 p2 10.0.0.20:
then lnfile is no longer a symbolic link of file, but rather a duplicate.
Is there anyway with tar and scp to preserver the link, symbolic or hard?
You would have to scp/cp/tar enough so that the link would actually point to something.
Tony
[Index of Archives]
[Current Fedora Users]
[Fedora Desktop]
[Fedora SELinux]
[Yosemite News]
[Yosemite Photos]
[KDE Users]
[Fedora Tools]
[Fedora Docs]