[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

Re: No soft-links for scp?



Hi,

Dotan Cohen wrote:
I need to softlink to files on a remote machine on my home network. It
appears that scp does not support softlinks. Is there another way to
do this?

Use rsync, it works very well and if you have a directory that may change over time, then the updates will be quicker than copying the tree again.

Example:
$ scp -sRp ety@192.168.0.351:/home/archive .

Similar example:
rsync -azvxH --delete -e "ssh -l -o -c arcfour" ety@192.168.0.351:/home/archive/ archive

Another way is to use tar as follows:
ssh ety@192.168.0.351 '(cd /home/archive/;tar cf -)' | tar xf -


Kind Regards
AndrewM

Andrew McGlashan
Broadband Solutions now including VoIP
Reply to: