Back

Explore Courses Blog Tutorials Interview Questions
0 votes
1 view
in AWS by (12.9k points)

In my amazon EC2 instance, I have a folder named uploads. In this folder I have 1000 images. Now I want to copy all images to my new S3 bucket. How can I do this?

1 Answer

0 votes
by (18.2k points)

You can achieve this using AWS CLI.

Use the following command in the AWS CLI:

aws s3 sync <source> <target> [--options]

Where the source will be the name of the bucket and target will be the folder name in your instance.

Related questions

Welcome to Intellipaat Community. Get your technical queries answered by top developers!

28.4k questions

29.7k answers

500 comments

94.2k users

Browse Categories

...