-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Filters option different from AWS CLI #30
Comments
You are right and this behavior will cause issues for people doing a 1-1 transition. I will think about a solution to provide options for both current and regular behaviors. Ref for ideas: |
@jeanbmar any update on the above? It will be great if this bug can be fixed, as IMO it is a necessary functionality. E.g I have adjusted the bucket-with-bucket.js code and added this code block, after finding the diff :
I think it covers most of the use cases, as in the case of the deletion, everything will be included by default, so we need to apply only the exclude to items that need to be deleted. if such a solution make sense to you, I can open a PR and have it done properly. |
Fixed in 4.2.0, now matching CLI behavior by default. s3-sync-client/test/S3SyncClient.test.ts Lines 252 to 285 in b05c1d7
|
In the case of AWS CLI,
excl/path/to/file
that exists on the S3 side is not deleted, whereas it is deleted when using s3-sync-client.There is probably no problem with this specification, but please make it clear in the documentation.
Versions
aws cli: 2.4.3
s3-sync-client: 3.0.0
The text was updated successfully, but these errors were encountered: