I'm trying to use "aws s3 sync" on my EC2 instance. Is the '--exclude' option broken?

The mentioned github issue is closed and the sync command does allow exclude now.

I've tried and adding --exclude ".git/*" works.

Note that the ending /* is required.


It's broken for me too - and there's already an open issue for this https://github.com/aws/aws-cli/issues/434. It is a bug.