aws s3 sync
CautionSync with S3
aws s3 sync <src> <dst>
Transfers only differences — backups and static-site deploys. --delete mirrors deletions; --dryrun first.
Examples
aws s3 sync ./site s3://my-site --delete --dryrunPreview a mirroring sync
Syntax
aws s3 sync <src> <dst> [--delete] [--dryrun]
Before you run it
--delete removes files at the destination.
Related commands
- aws s3 ls / cpS3 operations
- rsyncSync (rsync)
The same reference, with no signal at all
Every command and flow from this site, held on your device and searchable with no connection. Free to install, no ads.
Get it free on the App Store