Trying to upload files to s3 bucket using this command
s3cmd -c sync -P -M dist/public/angular/styles/* s3://bucket/styles/
Getting this error
ERROR: Error parsing xml: not well-formed (invalid token): line 4, column 4 ERROR:
Trying to upload files to s3 bucket using this command
s3cmd -c sync -P -M dist/public/angular/styles/* s3://bucket/styles/
Getting this error
ERROR: Error parsing xml: not well-formed (invalid token): line 4, column 4 ERROR:
-c
is for specifying config file, not for command. So you should use:
s3cmd sync -P -M dist/public/angular/styles/* s3://bucket/styles/
It is possible the errors you are getting are due to -M
option (guess MIME type)