Horje
copy file from local to s3 bucket aws cli Code Example
copy file from local to s3 bucket aws cli
# Single File. --grants flag is optional
aws s3 cp file.txt s3://my-bucket/ --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers full=emailaddress=user@example.com
# Multiple Files from directory. --grants flag is optional
aws s3 cp <your directory path> s3://<your bucket name> --grants read=uri=http://acs.amazonaws.com/groups/global/AllUsers --recursive
# setting exclude or include flags
aws s3 cp <your directory path> s3://<your bucket name>/ --recursive --exclude "*.jpg"  --include "*.log"
Source: qiita.com




Shell

Related
how to start docker Code Example how to start docker Code Example
How to restart MongoDB in Linux Code Example How to restart MongoDB in Linux Code Example
how to uninstall vpython Code Example how to uninstall vpython Code Example
locale-gen fa_IR.UTF-8 ubuntu Code Example locale-gen fa_IR.UTF-8 ubuntu Code Example
pip fork install Code Example pip fork install Code Example

Type:
Code Example
Category:
Coding
Sub Category:
Code Example
Uploaded by:
Admin
Views:
11