Last active
November 30, 2016 14:40
-
-
Save hughgrigg/df10c5656edf31c619ef to your computer and use it in GitHub Desktop.
Syncing Magento media to AWS S3
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
# Obviously needs editing to suit situation! | |
rsync -rv --exclude="js" --exclude="css_secure" --exclude="css" --exclude="downloadable" --exclude="catalog" --exclude="import" broadmar@mceuk004-fs.nexcess.net:/home/broadmar/loveknitting.com/current/public/media/ ~/lk-media-download/ | |
aws s3 sync --recursive --acl="public-read" ~/lk-media-download s3://loveknitting-media/media |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment