This file contains hidden or 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
#!/usr/bin/env bash | |
# | |
# Watch specified directory recursively for file changes, and sync it to S3 when anything is | |
# created, modified, moved or deleted. Designed for use with a static site generator. | |
# | |
# Originally based on a script by Senko Rasic <[email protected]> | |
# Modified by Tim Malone <[email protected]> | |
# Ideas included from Lambros Petrou <[email protected]> | |
# Released to public domain. | |
# See https://gist.github.com/senko/1154509 |