Difference between revisions of "Aws s3 cp"
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 myfile.txt s3://mybucket | ||
+ | upload: ./myfile.txt to s3://mybucket/myfile.txt | ||
== Related == | == Related == |
Revision as of 05:37, 20 June 2024
https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/cp.html
aws s3 cp s3://mybucket . --recursive
aws s3 cp s3://mybucket/test.txt test2.txt
aws s3 cp --cache-control aws s3 cp --cache-control max-age=60
aws s3 cp myfile.txt s3://mybucket upload: ./myfile.txt to s3://mybucket/myfile.txt
Related
See also
Advertising: