Back
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?
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.
Learn how we helped 50,000+ professionals like you !
31k questions
32.8k answers
501 comments
693 users