|
 |
Author |
|
Message |  |
|
tahir
Joined: 28 Oct 2004 Posts: 45723 Location: Essex
|
|
|
|
 |
jema Downsizer Moderator
Joined: 28 Oct 2004 Posts: 28362 Location: escaped from Swindon
|
|
|
|
 |
tahir
Joined: 28 Oct 2004 Posts: 45723 Location: Essex
|
|
|
|
 |
jema Downsizer Moderator
Joined: 28 Oct 2004 Posts: 28362 Location: escaped from Swindon
|
|
|
|
 |
tahir
Joined: 28 Oct 2004 Posts: 45723 Location: Essex
|
|
|
|
 |
michael
Joined: 12 Jul 2005 Posts: 11 Location: Cardiff
|
Posted: Sun Jul 24, 05 12:54 pm Post subject: Use SSH instead? |
|
RCP and the other R-tools are insecure. Whilst this is probably fine on a home network, it is a good idea to switch to SCP, because this is secure (encrypted connection), is safe to use across the Internet, and will work on most modern Unix, Linux, BSD computers, and even on MAC OS X. (I think you can get a version of OpenSSH for Windows computers, too, but I have never tried copying files that way.)
Quote: |
rcp oldserver:/appl/data/* /appl/data -r |
translates very easily to:
Quote: |
scp -r oldserver:/appl/data/* /appl/data |
You can also use the -C (capital C) flag to include dynamic gzip compression, useful when transferring to/from the Internet. |
|
|
|
 |
tahir
Joined: 28 Oct 2004 Posts: 45723 Location: Essex
|
|
|
|
 |
michael
Joined: 12 Jul 2005 Posts: 11 Location: Cardiff
|
Posted: Sun Jul 24, 05 1:18 pm Post subject: |
|
The -C means "suck up all the files, compress them, then transfer to the other computer and uncompress them", so yes, they are zipped up, but they are automatically unzipped so it is as if they had not been compressed....
One thing to note - compressed files won't shrink any more if you try to re-compress them, so this will probably not save any time if you are transferring JPEGs, ZIPs, MP3s, etc., but should save a noticeable amount of time transferring HTML, DOC, etc across the internet. |
|
|
|
 |
tahir
Joined: 28 Oct 2004 Posts: 45723 Location: Essex
|
|
|
|
 |
|