From 175a7b8015e095664edcd7a20cfbb1c9dcf0abdd Mon Sep 17 00:00:00 2001 From: Jaideep krishna A Date: Sun, 15 Nov 2026 20:08:17 +0530 Subject: [PATCH] docs(s3): fix Example 6 heading and description in sync.rst (fixes #8710) --- awscli/examples/s3/sync.rst | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/awscli/examples/s3/sync.rst b/awscli/examples/s3/sync.rst index 500f2f3c028a..81096417a221 100644 --- a/awscli/examples/s3/sync.rst +++ b/awscli/examples/s3/sync.rst @@ -80,12 +80,12 @@ Output:: upload: test2.txt to s3://amzn-s3-demo-bucket/test2.txt -**Example 6: To sync all local objects to the specified bucket except specified directory files** +**Example 6: To sync objects from the specified S3 bucket to the local directory except specified directory files** -The following ``sync`` example syncs files under a local directory to objects under a specified prefix and bucket by +The following ``sync`` example syncs objects from the specified S3 bucket to the local directory by downloading S3 objects. This example uses the ``--exclude`` parameter flag to exclude a specified directory -and S3 prefix from the ``sync`` command. In this example, the user syncs the local current directory to the bucket -``amzn-s3-demo-bucket``. The local current directory contains the files ``test.txt`` and ``another/test2.txt``. The bucket +and S3 prefix from the ``sync`` command. In this example, the user syncs the bucket ``amzn-s3-demo-bucket`` to the +local current directory. The local current directory contains the files ``test.txt`` and ``another/test2.txt``. The bucket ``amzn-s3-demo-bucket`` contains the objects ``another/test5.txt`` and ``test1.txt``. :: aws s3 sync s3://amzn-s3-demo-bucket/ . \