-
Notifications
You must be signed in to change notification settings - Fork 233
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
Error in sync
command when using --delete
flag with 2.1.0 release
#576
Comments
If understood correctly there is nothing to remove nevertheless sync tries to create a If that is the case it might be related to #483 Lines 462 to 477 in fa8f356
I guess I missed to check whether dstURLs is empty unlike the previous version of code1: Line 392 in 3e08061
ps. @peak/big-data2 you may want to include this in milestone:v2.2.0 Footnotes |
Hi @kucukaslan, you're right. There aren't any changes :) Even the first |
Hi 👋
Firstly I want to thank you for this great tool!
After updating from
2.1.0-beta.1
to2.1.0
we've encountered a strange behavior whensync
ing a local folder to our S3 buckets. We're not using AWS, but I could reproduce this issue with a LocalStack S3 bucket locally.Using s5cmd in version
2.1.0-beta.1
syncs a local folder without any issues:Running the exact same commands with s5cmd in version
2.1.0
results in errors (ERROR "rm --raw=true": expected at least 1 object to remove
) when using the--delete
flag with thesync
command:Is there something we need to change in CLI usage after updating to version
2.1.0
? I don't see any changes regarding thesync
command and--delete
flag in the release notes. As thesync
command is now failing we cannot update s5cmd in our CI/CD pipelines.If you need anything further, feel free to let me know.
Thank you!
The text was updated successfully, but these errors were encountered: