aws s3 sync
Syncs directories and S3 prefixes. AWS CLI reference
39 options Its page in the AWS CLI reference
Options
Show its 39 options
--aclSets the ACL for the object when the command is performed.--cache-controlSpecifies caching behavior along the request/reply chain.--case-conflictConfigures behavior when attempting to download multiple objects whose keys differ only by case, which can cause undefined behavior on case-insensitive filesystems.--checksum-algorithmIndicates the algorithm used to create the checksum for the object.--checksum-modeTo retrieve the checksum, this mode must be enabled.--content-dispositionSpecifies presentational information for the object.--content-encodingSpecifies what content encodings have been applied to the object and thus what decoding mechanisms must be applied to obtain the media-type referenced by the Content-Type header field.--content-languageThe language the content is in.--content-typeSpecify an explicit content type for this operation.--copy-propsDetermines which properties are copied from the source S3 object.--dryrunDisplays the operations that would be performed using the specified command without actually running them.--excludeExclude all files or objects from the command that matches the specified pattern.--expiresThe date and time at which the object is no longer cacheable.--follow-symlinksSymbolic links are followed when uploading to S3 from the local filesystem.--force-glacier-transferForces a transfer request on all Glacier objects in a sync or recursive copy.--grantsGrant specific permissions to individual users or groups.--ignore-glacier-warningsTurns off glacier warnings.--includeDon't exclude files or objects in the command that match the specified pattern.--metadata-directiveSets the x-amz-metadata-directive header for CopyObject operations.--metadataA map of metadata to store with the objects in S3.--no-follow-symlinks--no-guess-mime-typeDo not try to guess the mime type for uploaded files.--no-overwriteThis flag prevents overwriting of files at the destination.--no-progressFile transfer progress is not displayed.--only-show-errorsOnly errors and warnings are displayed.--page-sizeThe number of results to return in each response to a list operation.--progress-frequencyNumber of seconds to wait before updating file transfer progress.--progress-multilineShow progress on multiple lines.--quietDoes not display the operations performed from the specified command.--request-payerConfirms that the requester knows that they will be charged for the request.--source-regionWhen transferring objects from an s3 bucket to an s3 bucket, this specifies the region of the source bucket.--sse-c-copy-source-key, --sse-c-copy-sourceThis parameter should only be specified when copying an S3 object that was encrypted server-side with a customer-provided key.--sse-c-keyThe customer-provided encryption key to use to server-side encrypt the object in S3.--sse-cSpecifies server-side encryption using customer provided keys of the the object in S3.--sse-kms-key-idThe customer-managed AWS Key Management Service (KMS) key ID that should be used to server-side encrypt the object in S3.--sseSpecifies server-side encryption of the object in S3.--storage-classThe type of storage to use for the object.--tagsTags to set on objects, in the format of --tags key value.--website-redirectIf the bucket is configured as a website, redirects requests for this object to another object in the same bucket or to an external URL.