Skip to content

Instantly share code, notes, and snippets.

@vubon
Created June 13, 2017 05:15
Show Gist options
  • Save vubon/32ad7aeaafedc265b6a40dbc287a1209 to your computer and use it in GitHub Desktop.
Save vubon/32ad7aeaafedc265b6a40dbc287a1209 to your computer and use it in GitHub Desktop.
File copy or Folder copy by Terminal from Remote server
Firstly You need to open your terminal then login
scp -r ursername@hostname:/path of your file or folder /home/where you want to save the folder or file
This command copy your file from remote server .
now if you want to send a file in your server then you can write down below command
scp -r /home/where you want to save the folder or file ursername@hostname:/path of your file or folder
Source: https://askubuntu.com/questions/446724/copy-folders-not-one-file-using-ssh-ubuntu
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment