Hello Friends đź‘‹,
Welcome To Infinitbility! ❤️
This article help you to do upload and download folders from s3 using aws cli, here we use aws sync command to download and upload folders to s3 bucket using aws cli.
May be you are looking for it
How to install and configure S3 in ubuntu
How to check files and folders of s3 bucket using aws cli
How to copy file from s3 using aws cli
How to copy folder from s3 using aws cli
how to copy folder s3 bucket to another s3 bucket
How to delete files on s3 bucket using aws cli
Let’s start today’s topic How to copy folder from s3 using aws cli or how to upload and download folder from s3 bucket using aws cli.
Table of content
- Upload folder to s3 bucket
- Download folder from s3 bucket
Upload folder to s3 bucket
upload folder to s3 bucket using aws cli cp command.
sudo aws s3 sync /var/www/html/upload s3://BUCKET_NAME/
Download folder from s3 bucket
download file from s3 bucket using aws cli cp command.
sudo aws s3 sync s3://BUCKET_NAME/upload /var/www/html/
Thanks for reading…