Skip to content

Instantly share code, notes, and snippets.

@mortenbra
Created July 22, 2015 11:40
Show Gist options
  • Save mortenbra/a4b1b2a73e9361c24798 to your computer and use it in GitHub Desktop.
Save mortenbra/a4b1b2a73e9361c24798 to your computer and use it in GitHub Desktop.
Use SCP to copy entire folder to remote host
# copy entire folder to remote host
scp -P 22 -r my_local_folder username@hostname:/var/www/html/c/my_remote_folder
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment