Re: copy command (265 Views)
Reply
Super Advisor
rajesh73
Posts: 448
Registered: ‎03-17-2009
Message 1 of 4 (290 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

 

 

Honored Contributor
Steven Schweda
Posts: 9,091
Registered: ‎02-23-2005
Message 2 of 4 (265 Views)

Re: copy command

Acclaimed Contributor
Dennis Handly
Posts: 25,190
Registered: ‎03-06-2006
Message 3 of 4 (247 Views)

Re: copy command (scp)

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