Last active
March 4, 2019 20:57
-
-
Save mujahidi/4bf8442d48af3f8a770f4bcec0d56bc0 to your computer and use it in GitHub Desktop.
Download/Upload file/folder through terminal commands
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
#Download File | |
scp user@host:/path/to/remote-file-to-download local-copy-of-file | |
#Download Folder | |
scp -r user@host:/path/to/remote-folder-to-download local-copy-of-folder | |
#Upload File | |
scp local-file user@host:/path/to/destination-where-local-file-is-uploaded | |
#Upload Folder | |
scp -r local-folder user@host:/path/to/destination-where-local-folder-is-uploaded |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment