Skip to content

Include filter not working as expected #5112

@cesarvarela

Description

@cesarvarela

I'm guessing it's because the same string is twice in the path? I'm not sure though:

The log output shows:

/web/public/page-data/index/page-data.json did not match include filter: /page-data/*

SDK version number
aws-cli/2.0.1 Python/3.7.4 Darwin/19.3.0 botocore/2.0.0dev5

Platform/OS/Hardware/Device
Catalina

To Reproduce (observed behavior)
aws s3 sync ./public s3://bucket --exclude "*" --include "/page-data/*"

Expected behavior
Should sync everything inside

Logs/output

2020-04-06 19:16:45,102 - MainThread - awscli.customizations.s3.filters - DEBUG - /web/public/page-data/index/page-data.json did not match include filter: /page-data/*

Metadata

Metadata

Assignees

Labels

closing-soonThis issue will automatically close in 4 days unless further comments are made.guidanceQuestion that needs advice or information.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions