1843487 Members
3273 Online
110216 Solutions
New Discussion

copy files

 
SOLVED
Go to solution
Keith Floyd
Advisor

copy files

Hi

I wish to copy 250MB of files from one system to another

I do not want to backup to tape nor can I use tar - not enough space

I have setup .rhosts

Any ideas

Keith
5 REPLIES 5
Tony Constantine_1
Regular Advisor

Re: copy files

try using rcp

rcp root@servername:/
Alan Riggs
Honored Contributor

Re: copy files

If you have 50-100 MB available, I would recommend tarring and qzipping "in place", then transferring the zipped file to reduce network traffic.

tar cvf - | gzip > file.tar.gz

Otherwise, rcp (with the -r to recursively copy subdirectories) will work fine.
Victor BERRIDGE
Honored Contributor
Solution

Re: copy files

Have you tried
on new destination:
rcp -rp :/ /
Devbinder Singh Marway
Valued Contributor

Re: copy files

You can try the following , on the system where you want to copy the files into , this path is absolute i.e. they will get installed in the same dirs as original
e.g. if iles are in /files/list

try:-

tar -cf- /files/list | remsh tar -xf-

HTH
Seek and you shall find
Keith Floyd
Advisor

Re: copy files

Thanks All

tried rcp before but from sending host - when I tried it from recieving host all is well

permissions I guess

Keith