Install s3cmd on MacOS using Homebrew:
brew install s3cmd.
s3cmd sync --no-preserve --cf-invalidate --cf-invalidate-default-index --delete-removed --exclude=* --rinclude-from=dist-files ./ s3://rob-gant-ninja/
When we build the website we should be able to cachebust the asset/css/img/js file
names using a hash and we won't need
s3cmd sync preserves file attributes as metadata on the s3 key and that
data is then converted into an HTTP header in the response. Using
won't impact the ability of sync to check
for changed files.
Should also setup Cache-Control Headers once we have cachebusting setup.