Skip to content

Instantly share code, notes, and snippets.

@hewersonfreitas
Created January 22, 2020 13:43
Show Gist options
  • Save hewersonfreitas/ef411490432f4e1dcdf833028a4f9341 to your computer and use it in GitHub Desktop.
Save hewersonfreitas/ef411490432f4e1dcdf833028a4f9341 to your computer and use it in GitHub Desktop.
syncWithCdn.sh >>
#!/bin/bash
s3cmd sync /PATH s3://bucket-name/
#~ sync path in S3 Amazon
* * * * * /PATH/syncWithCdn.sh >> /PATH/log_sync.txt
#~
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment