I wanted a way to replicate any file system changes to s3 immediately after those changes are made. Inotify (incron) and s3sync along with a bash script appears to have done the trick.
The script currently queues all pending uploads and sends them one at a time. I had fooled around with allowing multiple uploads to go at once, but since I'd never make use of it and it added complexity, I scraped it. If anyone is interested in a version that allows you to configure the max simultaneous uploads, let me know.
You can download and read about it here:
Pseudo Synchronous Replication to Amazon S3The script currently doesn't support the exclude option of s3sync. At some point I'd like to add it though.
Is this useful to anyone?