Skip to content

Instantly share code, notes, and snippets.

@SebKay
Created October 2, 2019 10:20
Show Gist options
  • Save SebKay/bcd7884555054bca7b677f9dbc81cc79 to your computer and use it in GitHub Desktop.
Save SebKay/bcd7884555054bca7b677f9dbc81cc79 to your computer and use it in GitHub Desktop.
Copy files from your local machine to a server using Rsync
rsync -v -a -z --owner=www-data --group=www-data -e ssh -p 22 -o StrictHostKeyChecking=no LOCAL_PATH USER@IP:SERVER_PATH
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment