cheat/cheatsheets/scp
2013-08-18 14:59:49 -04:00

5 lines
208 B
Plaintext

To copy a file from your local machine to a remote server:
scp foo.txt user@example.com:remote/dir
To copy a file from a remote server to your local machine:
scp user@example.com:remote/dir/foo.txt local/dir