Difference between revisions of "Aws s3 sync"
Jump to navigation
Jump to search
(15 intermediate revisions by 3 users not shown) | |||
Line 1: | Line 1: | ||
− | + | {{lowercase}} | |
+ | <code>[[aws s3]] sync</code> recursively copies new and updated files from the source directory to the destination. https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/sync.html | ||
* <code>aws s3 sync s3://BUCKET_NAME ./</code> | * <code>aws s3 sync s3://BUCKET_NAME ./</code> | ||
+ | * <code>[[aws s3]] sync ./build/ s3://${bucket_name}/ </code> | ||
+ | * <code>[[aws s3]] sync --delete ./build/ s3://${bucket_name}/ </code> | ||
+ | * <code>[[--cache-control]]</code> | ||
+ | |||
+ | [[aws s3 sync --help]] | ||
+ | |||
+ | |||
+ | == Related == | ||
+ | * <code>[[rsync]]</code> | ||
== See also == | == See also == | ||
− | * {{ | + | * {{aws s3}} |
+ | * {{S3}} | ||
[[Category:AWS]] | [[Category:AWS]] |
Latest revision as of 16:17, 15 October 2024
aws s3 sync
recursively copies new and updated files from the source directory to the destination. https://awscli.amazonaws.com/v2/documentation/api/latest/reference/s3/sync.html
aws s3 sync s3://BUCKET_NAME ./
aws s3 sync ./build/ s3://${bucket_name}/
aws s3 sync --delete ./build/ s3://${bucket_name}/
aws s3 sync --help
Related[edit]
See also[edit]
- AWS S3:
aws s3control
.aws s3
[cp | ls
|sync | presing
|mb | rm | rb
] - AWS S3,
aws s3, aws s3api, aws s3control, s3:
, Amazon S3 Storage Lens, AWS S3 replication, CRR, SSR, CAR, S3 Replication Time Control (S3 RTC), Website endpoint, Amazon Macie, Versioning, Lifecycle, Encryption, logging, Amazon S3 Inventory, Amazon S3 Batch Operations, Storage Classes, Amazon S3 clients, Terraform S3, AWS canned ACLs, Directory buckets, security,PutObject
Advertising: