1
0
mirror of https://github.com/cheat/cheat.git synced 2024-12-24 13:39:44 +01:00
cheat/cheatsheets/scp

6 lines
213 B
Plaintext
Raw Normal View History

# To copy a file from your local machine to a remote server:
2013-08-16 17:09:58 +02:00
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