Skip to content

Instantly share code, notes, and snippets.

@canujohann
Created June 4, 2015 07:13
Show Gist options
  • Save canujohann/6ef5cbf7318fde88c609 to your computer and use it in GitHub Desktop.
Save canujohann/6ef5cbf7318fde88c609 to your computer and use it in GitHub Desktop.
s3.md

s3fs + s3 sync

Mount avec s3fs

/usr/bin/s3fs s3.mydomain.com /my_folder_to_mount/ -o allow_other

unmount

unmount /my_folder_to_mount

s3 sync

s3sync avec une cron task

*/3 * * * * aws s3 sync s3://api.mydomain.com/ /api/ --exclude="*" --include="*.jpg" --include="*.png" --include="*.html"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment