Skip to content

Instantly share code, notes, and snippets.

@jesders
Last active September 10, 2018 12:35
Show Gist options
  • Save jesders/e50c866ddb223f6b257ce80b7ea7ec18 to your computer and use it in GitHub Desktop.
Save jesders/e50c866ddb223f6b257ce80b7ea7ec18 to your computer and use it in GitHub Desktop.
Rsync Full Wordpress Site without server files
rsync --dry-run -avz -e 'ssh -p {PORT}' username@domain.com:/home/username/public_html/ ./public_html/ --exclude 'wp-config.php' --exclude '.*' --exclude 'cgi-bin' --exclude 'error_log'
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment