Skip to content

Instantly share code, notes, and snippets.

@bhaskar-c
Forked from paales/gist:6682242
Created December 22, 2018 17:03
Show Gist options
  • Save bhaskar-c/a567acd868a01d31fd632bb3c9c7de55 to your computer and use it in GitHub Desktop.
Save bhaskar-c/a567acd868a01d31fd632bb3c9c7de55 to your computer and use it in GitHub Desktop.
rsync a Magento installation
rsync -chavzP --exclude='path/to/installation/var/cache' --exclude='path/to/installation/.git' --exclude='path/to/installation/media/catalog/product/cache' --exclude='path/to/installation/var/tmp' --exclude='path/to/installation/var/session' --exclude='kiboots/var/report' --stats username@host:path/to/installation /destination/path
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment