Copy-ready commandaws s3 sync
aws s3 sync /data s3://my-bucket/data --deleteProduction 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 example
Synchronize a directory with S3.
aws s3 sync /data s3://my-bucket/data --deleteCommon errors
Command not found
Confirm AWS CLI v2 is installed and available in your current shell.