Re: copy command (356 Views)
Reply
Super Advisor
Posts: 501
Registered: ‎03-17-2009
Message 1 of 4 (381 Views)

copy command

 normally i am using scp for file copy, but i need to copy the director to some other server , ple help me the command

 

file copy command to other host

 

scp DBarch_00.dbf root@195.200.165.32:/dump/arch

 

 

Highlighted
Honored Contributor
Posts: 9,173
Registered: ‎02-23-2005
Message 2 of 4 (356 Views)

Re: copy command

Acclaimed Contributor
Posts: 26,099
Registered: ‎03-06-2006
Message 3 of 4 (338 Views)

Re: copy command (scp)

Advisor
Posts: 21
Registered: ‎09-01-2013
Message 4 of 4 (317 Views)

Re: copy command (scp)

Hi Rajesh,

 

scp -rp dirname targethostname:/destination path

 

it will ask for password,if public key is not present in destination server.

 

step 2:

 

 

if hostname is available in .rhosts  file,you can also use rcp.

 

regards

 

madhu

The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.