Created
July 3, 2014 22:43
-
-
Save leighghunt/44616e110bfcd19f60d4 to your computer and use it in GitHub Desktop.
Remote file copy cheatsheet
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Tar and zip folder input into out.tar.gz file | |
ubuntu@remote-host$ tar cf out.tar.gz input/ | |
Copy from host to local machine, logging in as user ubuntu | |
lhunt@local-host$ scp ubuntu@host:/home/ubuntu/out.tar.gz out.tar.gz |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment