cheat sheets.

$ cheat scp
Secure Copy (scp)

Copy local file to remote machine:
   scp /path/to/file user@host:/path/to/file

Copy local directory with mask to remote machine:
   scp -r /path/to/dir user@domain.ext:/path/to/dir/

Copy remote file to local machine:
   scp user@domain.ext:/path/to/file /path/to/file

Copy remote files with mask to local machine:
   scp user@domain.ext:/path/to/dir/\* /path/to/dir

Copy remote directory to local machine:
   scp -r user@domain.ext:/path/to/dir /path/to/dir
Version 1, updated 1048 days ago.
. o 0 ( edit | history )
( add new | see all )