Search
 
SCRIPT & CODE EXAMPLE
 

SHELL

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"
Comment

PREVIOUS NEXT
Code Example
Shell :: angular install version 12 
Shell :: acce;lerate ubuntu 
Shell :: sudo command without giving password 
Shell :: has_add_permission() takes 2 positional arguments but 3 were given 
Shell :: linux change default editor 
Shell :: add onedrive to ubuntu 
Shell :: shell shortcuts 
Shell :: BBBBBBBBBBBB 
Shell :: git change origin url 
Shell :: asdf local 
Shell :: download blender ubuntu snap 
Shell :: install brave fedora 
Shell :: create zip file ubuntu 
Shell :: get docker resource usage 
Shell :: clone project from specific branch 
Shell :: samtools sam to fastq 
Shell :: apache2 file size 
Shell :: bash string before substring 
Shell :: how to I list powershell functions 
Shell :: better discord in linux 
Shell :: how to install modules from requirement.txt 
Shell :: git log for specific file 
Shell :: git stash show files changed 
Shell :: installing kubernetes with kops 
Shell :: how to copy file using ssh from computer to server 
Shell :: passport deploy to server 
Shell :: git push error 
Shell :: alpine sudo 
Shell :: sdkman install 
Shell :: install piper ubuntu 
ADD CONTENT
Topic
Content
Source link
Name
8+1 =