Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions awscli/examples/s3/sync.rst
Original file line number Diff line number Diff line change
Expand Up @@ -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/ . \
Expand Down
Loading