Switch branches/tags
Nothing to show
Find file
Fetching contributors…
Cannot retrieve contributors at this time
17 lines (11 sloc) 529 Bytes
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