Skip to content

aws s3 sync --delete behaves differently if source is <LocalPath> rather than <S3Path> #1481

@jrotenstein

Description

@jrotenstein

This issue was raised on: https://stackoverflow.com/questions/32304326/amazon-s3-sync-deleting-excluded-files

Basically, doing aws s3 sync . s3://bucket2 --delete behaves differently to aws s3 sync s3://bucket1 s3://bucket2 --delete even if the two source directories are identical.

It would appear that the logic for --delete behaves differently between Local and S3. An example is well-documented in the stackoverflow issue.

Metadata

Metadata

Labels

bugThis issue is a bug.s3

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions