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 thi
This can be done very simply. Follow the following steps:
aws s3 cp filelocation/filename s3://bucketname
Hence you don't need to install or do any extra efforts.
Please note... the file location refers to the local address. And the bucketname is the name of your bucket. Also note: This is possible if your instance and S3 bucket are in the same account. Cheers.