aws s3 sync — Basic UsageIT technician command center
AWS CLI · Amazon Web Services

aws s3 sync — Basic Usage

Use aws s3 sync for a standard administrative task.

Copy-ready commandaws s3 sync — Basic Usage
aws s3 sync /data s3://my-bucket/data --delete
Production warning

Start, stop, reboot, sync --delete, and write operations can affect production resources.

Requirements and permissions

Requirements
AWS CLI v2
Permissions
AWS IAM permissions vary
Last reviewed
2026-07-31

Examples

Basic Usage

Use aws s3 sync for a standard administrative task.

aws s3 sync /data s3://my-bucket/data --delete

Original command

Synchronize a directory with S3.

aws s3 sync /data s3://my-bucket/data --delete

Common errors

Command not found

Confirm AWS CLI v2 is installed and available in your current shell.