MathieuLoutre / grunt-aws-s3

Grunt plugin to interact with AWS S3 using the AWS SDK

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

copy from one bucket to another bucket

vamshikrishnab opened this issue · comments

I am trying to copy files from one bucket to another bucket, but could not achieve it here are my config details.Can someone help me on this

sync_with_environment: {
options: {
accessKeyId: '<%= settings.AWSAccessKeyId %>',
secretAccessKey: '<%= settings.AWSSecretKey %>',
bucket:'<%= settings.S3Bucket_stage %>',
differential: true,
region:'us-east-1'
},
files: [{expand: true,
cwd: '<%= settings.S3Bucket_dev %>',
src: ['**/'],
dest: ''
}]
}