A utility function to sync a directory to s3, using hashes to determined changed files (as opposed to timestamps, which is what the aws cli uses).
Sync AWS S3 directories. Requires AWS CLI to be installed and configured before use.