Last active
December 22, 2018 17:03
-
-
Save paales/6682242 to your computer and use it in GitHub Desktop.
rsync a Magento installation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
thx.
exclude kiboots/var/report should be path/to/installation/var/report
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
To not have to look up the port for rsync (and the excludes are relative, so no need for absolute pathes imho):