Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Is s3 sync supported from sdk instead of cli?

Here is answer about how move files from one s3 bucket to another using sync command from command line (cli):

aws s3 sync s3://from_my_bucket s3://to_my_other_bucket

Can this be invoked from javascript sdk? With searching I did not find any sync named method. So is it supported in sdk?

like image 511
Cherry Avatar asked Sep 07 '17 09:09

Cherry


1 Answers

You can see how this node package does it.

Basically, it makes use of several S3 instance methods to sync two buckets.

like image 151
Noel Llevares Avatar answered Sep 24 '22 14:09

Noel Llevares