View previous topic :: View next topic |
Author |
Message |
Evangelion Veteran
Joined: 31 May 2002 Posts: 1087 Location: Helsinki, Finland
|
Posted: Tue Dec 10, 2002 6:38 pm Post subject: Copying files between two computer? |
|
|
What is the most convenient way to copy files between two computers? Of course, I could use NFS, but I think that would be a bit overblown in my case. I just need to occasionally copy one or two files from one workstation to another. |
|
Back to top |
|
|
Cuboid n00b
Joined: 02 Oct 2002 Posts: 15
|
Posted: Tue Dec 10, 2002 6:49 pm Post subject: Rsync is pretty easy |
|
|
You can archive and restore from one machine to another pretty easily with Rsync. The advantage of this is that it copies only changes to files so is fairly fast/efficient.
If your worried about security you can use SSH with Rsync as well.
Something like:
rsync -az -v -e ssh Documents/ user@destination:Documents
Will archive the contens of Documents folder to the same folder in the user account on the destination machine using ssh.
For one of transfers you can use SCP, i.e. secure copy quite easily as well |
|
Back to top |
|
|
equilian n00b
Joined: 27 Apr 2002 Posts: 41 Location: Cambridge,MA
|
Posted: Tue Dec 10, 2002 6:58 pm Post subject: |
|
|
You may also want to take a look at scp. It's what I use to tranfer files across the network. The man page should be adequate in explaining it's usage.
Abraham _________________ "To announce there must be no criticism of the president, or that we are
to stand by the president, right or wrong, is not only unpatriotic and servile,
but is morally treasonable to the American public."
-Theodore Roosevelt |
|
Back to top |
|
|
Evangelion Veteran
Joined: 31 May 2002 Posts: 1087 Location: Helsinki, Finland
|
Posted: Tue Dec 10, 2002 8:05 pm Post subject: |
|
|
Thanks for your replies, I'll take a look at 'em tomorrow |
|
Back to top |
|
|
MacMasta Guru
Joined: 18 Apr 2002 Posts: 545 Location: Anchorage, AK
|
Posted: Tue Dec 10, 2002 10:38 pm Post subject: |
|
|
Allow me to add:
Avoid FTP like the plague - plaintext passwords are not your friends.
SCP is great.
~Mac~ |
|
Back to top |
|
|
OdinsDream Veteran
Joined: 01 Jun 2002 Posts: 1057
|
Posted: Tue Dec 10, 2002 11:19 pm Post subject: |
|
|
Is there an easy way to copy more than one file with SCP? |
|
Back to top |
|
|
phong Bodhisattva
Joined: 16 Jul 2002 Posts: 778 Location: Michigan - 15 & Ryan
|
Posted: Wed Dec 11, 2002 2:30 am Post subject: |
|
|
Code: | # scp *.gif user@host:/dir/ectory
# scp file1 file2 file3 user@host:/dir/ectory
# scp -r directory user@host: |
The last example copies a directory recursively to the user's home directory on host (including the directory - it doesn't just dump the contents). So, basically, it works almost exactly like cp. _________________ "An empty head is not really empty; it is stuffed with rubbish. Hence the difficulty of forcing anything into an empty head."
-- Eric Hoffer |
|
Back to top |
|
|
|