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

Re: How to copy recursively ?



Manoj,
(security issues aside...)
rcp will do what you want if the users are allowed from machine
to machine.

The command "IF the base directories are the same":

Lets say you want to copy the directory /home/george/stuff to the 
other machine into the same /home/george/stuff directory.

machine_a% cd /home/george
machine_a% rcp -rp stuff machine_b:`pwd`

Be VERY, VERY careful with this command.
You can break a LOT of STUFF!
I HIGHLY RECOMMEND you create a couple of test directories
and place some junk files in them to play with.

'nuff said,
Have fun,
--
Rick L. Mantooth
ricklman swbell net
He who hesitates is probably right.

On Mon, 12 Jul 1999, Manoj Saxena wrote:

>     
>     I have a Redhat Linux 5.2 server on network 3. I have a client on 
> network 2. They can ping and telnet eachother. My problem is how do I 
> copy directories containing sub-directories and files and so on from 
> the server to this client. 
>     
>     It is not possible with ftp. For the time being I zipped the 
> directories and made a file and transferred through ftp. I don't 
> wan't to zip and then use ftp as it occupies dual space (Reason being 
> this is aroung 1GB on zipping it again generates around 1GB). The 
> same procedure needs to be followed at the client side causing a lot 
> of waste of time. Please suggest.
> 
> Thanking in advance.
> Manoj
> 
> 
> 
> -- 
> To unsubscribe: mail redhat-list-request redhat com with "unsubscribe"
> as the Subject.
> 



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