Posted By

beneberle on 07/02/10


Tagged

unix


Versions (?)

Who likes this?

1 person have marked this snippet as a favorite

Vordreller


UNIX: Secure Copy folders between UNIX Machines


 / Published in: Bash
 

You will be prompted for a password after issuing this command

  1. # to copy directory from remote to local machine
  2. scp -r user@machine-name.com:/path/to/remote/directory/to/copy/* /path/to/local/destination/directory
  3.  
  4. # to copy directory from local to remote machine
  5. scp -r /path/to/local/directory/to/copy/* user@machine-name.com:/path/to/remote/destination

Report this snippet  

You need to login to post a comment.