Difference between revisions of "Aws s3 cp"

From wikieduonline
Jump to navigation Jump to search
Line 6: Line 6:
 
  [[aws s3]] cp [[--cache-control]]
 
  [[aws s3]] cp [[--cache-control]]
 
  [[aws s3]] cp --cache-control [[max-age]]=60
 
  [[aws s3]] cp --cache-control [[max-age]]=60
 +
 +
aws s3 cp --recursive /tmp/yourlocalfolder s3://remotebucket/yourremotefolder
  
 
   
 
   

Revision as of 07:29, 22 January 2025

https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/cp.html

aws s3 cp --cache-control
aws s3 cp --cache-control max-age=60
aws s3 cp --recursive /tmp/yourlocalfolder s3://remotebucket/yourremotefolder


aws s3 cp myfile.txt s3://mybucket
upload: ./myfile.txt to s3://mybucket/myfile.txt

Activities

Related

See also

Advertising: