The AWS CLI has the the amazing aws s3 sync command which I use frequently. It's super fast because in some cases it only copies the delta between the buckets.
There doesn't seem to be a similar way to invoke that API from this library. Is it here and I'm just missing it?
The aws-sdk gem does not provide this functionality. As far as I know, none of the AWS SDKs, except the CLI have a filesystem to S3 sync function.
:(
As far as I know, none of the AWS SDKs, except the CLI have a filesystem to S3 sync function.
Hi, just wanted to stop by and add my :( to this. Sync functionality has been available in the PHP SDK since 2013. The Java SDK also has this/something similar.
Same here.. just stopping by again to add my :(
This is a really useful feature to have in sdk, so we don't have to install cli dependency on hosting, and our background jobs can run purely on gem dependency.
Adding this feature will make it whole lot easier to do PaaS deployments on system like Heroku.
Bumping for 2019. Any chance of having this function added to the Ruby SDK?
Looking for SDK equivalent SDK method for aws s3 sync [SOURCE] s3://[BUCKET]/[KEYPREFIX] --exact-timestamps
Does this exist?
Reopening as a feature request. Happy to take an PRs.
Need the ability to run:
aws s3 sync s3://accountOne/sourceBucket/etc s3://accountTwo/targetBucket/etc --delete --include="*"
Using the API, you can create a TransferManager object, but it assumes a single S3 AWS connection. An API change would hopefully accommodate this use case.
Any update on this?
We are in 2021, any updates?
^ @VitalyTarasiu I can second this. We are in 2021.
Still waiting for this feature to drop :(
+1
Most helpful comment
Same here.. just stopping by again to add my :(
This is a really useful feature to have in sdk, so we don't have to install cli dependency on hosting, and our background jobs can run purely on gem dependency.
Adding this feature will make it whole lot easier to do PaaS deployments on system like Heroku.