19
loading...
This website collects cookies to deliver better user experience
aws s3 mb s3://newbucketname --region "ap-south-1"
aws s3api put-object --bucket existing_bucket_name --key new_sub_directory_name/ --region "ap-south-1"
-
Keyword bucketaws s3 cp file_to_upload.txt s3://existing_bucket_name/ --region "ap-south-1"
aws s3api put-object --bucket existing_bucket_name --key new_sub_directory_name/file_to_be_uploaded.txt --body file_to_be_uploaded.txt
-
Keyword bucketaws s3 cp --recursive your_local_directory s3://full_s3_bucket_name/ --region "ap-southeast-2"
upload: ./ **firstfile.txt** to s3://maindirectory/subdirectory/ **firstfile.txt**
upload: ./ **secondfile.txt** to s3://maindirectory/subdirectory/ **secondfile.txt**
upload: ./ **thirdfile.txt** to s3://maindirectory/subdirectory/ **thirdfile.txt**
aws s3 sync your_local_directory s3://full_s3_bucket_name/ --region "ap-southeast-2"
upload: ./ **firstfile.txt** to s3://maindirectory/subdirectory/ **firstfile.txt**
upload: ./ **secondfile.txt** to s3://maindirectory/subdirectory/ **secondfile.txt**
upload: ./ **thirdfile.txt** to s3://maindirectory/subdirectory/ **thirdfile.txt**
aws s3 cp --recursive your_local_directory s3://full_s3_bucket_name/ --exclude "*" --include "first*" --region "ap-southeast-2"
upload: ./firstfile.txt to s3://maindirectory/subdirectory/ **firstfile.txt**