Skip to content

Commit

Permalink
Merge pull request aws#4000 from stealthycoin/fix-docs-typo
Browse files Browse the repository at this point in the history
Fix s3 path prefix in s3 cp example
  • Loading branch information
stealthycoin authored Mar 12, 2019
2 parents 43416ec + c2ade5c commit 7756587
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions awscli/examples/s3/cp.rst
Original file line number Diff line number Diff line change
Expand Up @@ -92,12 +92,12 @@ Output::

You can combine ``--exclude`` and ``--include`` options to copy only objects that match a pattern, excluding all others::

aws s3 cp s3://mybucket/logs/ s3://mybucket2/logs/ --recursive --exclude "*" --include "*.log"
aws s3 cp s3://mybucket/logs/ s3://mybucket2/logs/ --recursive --exclude "*" --include "*.log"

Output::

copy: s3://mybucket/test/test.log to s3://mybucket2/test/test.log
copy: s3://mybucket/test3.log to s3://mybucket2/test3.log
copy: s3://mybucket/logs/test/test.log to s3://mybucket2/logs/test/test.log
copy: s3://mybucket/logs/test3.log to s3://mybucket2/logs/test3.log

**Setting the Access Control List (ACL) while copying an S3 object**

Expand Down

0 comments on commit 7756587

Please sign in to comment.