Skip to content

Instantly share code, notes, and snippets.

@antoinekociuba
Last active July 23, 2019 23:30
Show Gist options
  • Save antoinekociuba/a3ca396270dda1adcb3ccfa9dc1b7355 to your computer and use it in GitHub Desktop.
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
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