Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR SHELL

To copy a directory from a local to remote system, use the -r option

scp -r /local/directory remote_username@10.10.0.2:/remote/directory
Source by linuxize.com #
 
PREVIOUS NEXT
Tagged: #To #copy #directory #local #remote #option
ADD COMMENT
Topic
Name
3+3 =