How to copy files and folders between two buckets?

0 votes
I am looking for a tool to help me copy content of an S3 bucket into a second bucket without downloading the content first to a local system. I have tried AWS S3 console copy option but that resulted in some nested files being missing.
Jan 16 in AWS by Anjali
• 2,910 points
39 views

1 answer to this question.

Your answer

Your name to display (optional):
Privacy: Your email address will only be used for sending these notifications.
0 votes

You can use AWS CLI to do that you can install AWS CLI from here http://aws.amazon.com/cli/ 

The command that you can use for copying the file is as follows:-

$ aws s3 sync s3://mybucket-src s3://mybucket-target --exclude *.tmp

This will copy from one target bucket to another bucket.

See the documentation here : S3 CLI Documentation

answered Jan 16 by Dhananjay

Related Questions In AWS

0 votes
1 answer

How do I invoke another lambda async and pass context to it?

I tried several times trying to pass ...READ MORE

answered Apr 27, 2018 in AWS by Cloud gunner
• 4,240 points
991 views
0 votes
1 answer

How can i copy tables from one database to other on AWS?

You can use AWS Data pipeline to ...READ MORE

answered Jul 5, 2018 in AWS by Priyaj
• 56,120 points
32 views
0 votes
1 answer

How to copy .csv file from Amazon S3 bucket?

Boto3 is the library to use for ...READ MORE

answered Jul 6, 2018 in AWS by Priyaj
• 56,120 points
261 views
0 votes
1 answer
0 votes
1 answer

AWS S3 uploading hidden files by default

versioning is enabled in your bucket. docs.aws.amazon.com/AmazonS3/latest/user-guide/….... the ...READ MORE

answered Oct 4, 2018 in AWS by Priyaj
• 56,120 points
84 views
0 votes
1 answer

How to decrypt the encrypted S3 file using aws-encryption-cli --decrypt

Use command : aws s3 presign s3://mybucket/abc_count.png you get ...READ MORE

answered Oct 22, 2018 in AWS by Priyaj
• 56,120 points
181 views
0 votes
1 answer

Import my AWS credentials using python script

Using AWS Cli  Configure your IAM user then ...READ MORE

answered Nov 16, 2018 in AWS by Jino
• 5,520 points
98 views
0 votes
1 answer

What is Iaas, PaaS and SaaS?

IaaS, PaaS and SaaS are cloud computing ...READ MORE

answered Jan 15 in AWS by Deeksha
79 views

© 2018 Brain4ce Education Solutions Pvt. Ltd. All rights Reserved.
"PMP®","PMI®", "PMI-ACP®" and "PMBOK®" are registered marks of the Project Management Institute, Inc. MongoDB®, Mongo and the leaf logo are the registered trademarks of MongoDB, Inc.