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
#!/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 <senko.rasic@dobarkod.hr> | |
# Modified by Tim Malone <tdmalone@gmail.com> | |
# Ideas included from Lambros Petrou <lambrospetrou@gmail.com> | |
# Released to public domain. | |
# See https://gist.github.com/senko/1154509 |