Re: copy command (373 Views)
Super Advisor
Posts: 503
Registered: ‎03-17-2009
Message 1 of 4 (398 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@



Honored Contributor
Posts: 9,181
Registered: ‎02-23-2005
Message 2 of 4 (373 Views)

Re: copy command

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

Re: copy command (scp)

Posts: 21
Registered: ‎09-01-2013
Message 4 of 4 (334 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.





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.