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



Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,036
Registered: ‎02-23-2005
Message 2 of 4 (105 Views)

Re: copy command

Please use plain text.
Acclaimed Contributor
Dennis Handly
Posts: 24,389
Registered: ‎03-06-2006
Message 3 of 4 (87 Views)

Re: copy command (scp)

Please use plain text.
Posts: 21
Registered: ‎09-01-2013
Message 4 of 4 (66 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.





Please use plain text.
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