Last active
July 23, 2019 23:30
-
-
Save antoinekociuba/a3ca396270dda1adcb3ccfa9dc1b7355 to your computer and use it in GitHub Desktop.
rsync Magento media folder from a remote server to a local media directory
This file contains 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 -avz --dry-run SOURCE DESTINATION | |
rsync -avz --dry-run SSH_USER@IP:/REMOTE_ASBOLUTE_PATH/media/ media/ | |
--dry-run is to test if everything is fine, always do it first ;p | |
Remove it then to launch the real action |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment