Upload everything to S3
To upload every file, folder and files present in each folder of the present working directory, use the following command.
aws s3 cp . s3://bucket-name --recursive
This copies every file, folder, and sub-folder present in the current directory to the S3 bucket recursively.
How to Upload Files to AWS S3 using CLI?
The AWS Simple Storage Service (S3) from Amazon Web Services (AWS) is a widely used cloud storage option for securely overseeing and storing your data. The AWS Command Line Interface (CLI) offers a robust and effective means of engaging with various AWS services, including S3. Within this article, we will provide you with step-by-step instructions on how to utilize the AWS CLI to upload files to AWS S3.