Page 1 of 1

Question about Copying files over to a new server from anoth

Posted: Thu Nov 17, 2005 6:41 pm
by myleow
I am using scp command to copy files over to a new server.

Current i am using

scp -r directoryA user@newserver:~/

The problem i am encountering is there are symbolic link directories in the directoryA and when it goes over to the new server, it will create it as a directory instead of a symbolic link.

Is there a way to copy entire directory and keep the symbolic link directory as such on the new server?

Posted: Fri Nov 18, 2005 10:13 am
by pickle
You could make it a tarball before you transfer it.