JAEN

Cloud

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

The same reference, with no signal at all

Every command on this site, held on your device. The app adds 632 more: 1,510 commands and 120 fix flows, searchable with no connection. Free to install, no ads (some content is a one-time purchase).

Get it free on the App Store