aws-s3-sync
Verified for current stable LTS
Aws S3 Sync Command: Sync To Bucket Advanced Options
An engineer would use the aws s3 sync command to efficiently upload local files to an S3 bucket while specifying advanced options like object access control and storage class for better management of data lifecycle and access in a production environment. Exact CLI syntax to sync to bucket advanced options using Aws S3 Sync.
When to use this: An engineer would use the aws s3 sync command to efficiently upload local files to an S3 bucket while specifying advanced options like object access control and storage class for better management of data lifecycle and access in a production environment.
Command Syntax
aws s3 sync <path/to/local_directory> s3://<bucket_name>/<path/to/remote_location> --acl <private|public-read> --storage-class <STANDARD_IA|GLACIER> aws s3 sync <path/to/local_directory> s3://<bucket_name>/<path/to/remote_location> --acl <private|public-read> --storage-class <STANDARD_IA|GLACIER> Command Breakdown
--acl- Command Option
- Tool-specific option used by this command invocation.
--storage-class- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to sync to bucket advanced options using Aws S3 Sync.
Test path: Replace placeholders and run destructive commands in a disposable workspace first.
Flag behavior: Tool version, platform, and shell can change behavior.
Improve This Command
Suggest a correction, safer default, or version-specific note for this entry.
Related Operations
Aws S3 Sync Command: Sync Buckets
aws s3 sync s3://<bucket_source_name>/<path/to/remote_location> s3://<bucket_target_name>/<path/to/remote_location> Aws S3 Sync Command: Display Help aws s3 sync help Aws S3 Sync Command: Sync Local To Bucket aws s3 sync <path/to/directory> s3://<bucket_name>/<path/to/remote_location> Aws S3 Sync Command: Sync Bucket To Local aws s3 sync s3://<bucket_name>/<path/to/remote_location> <path/to/directory> Aws S3 Sync Command: Sync Local To Bucket Exclude aws s3 sync <path/to/directory> s3://<bucket_name>/<path/to/remote_location> --exclude <path/to/file> --exclude <path/to/directory>/*