Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
sync: document --delete behavior for excluded files
Running `aws s3 sync --delete ...` will not delete files that are excluded by filters. For example: ```bash aws s3 mb s3://sync-delete-exclude mkdir /tmp/sync-delete-exclude touch /tmp/sync-delete-exclude/{1,2,3,4} aws s3 sync /tmp/sync-delete-exclude s3://sync-delete-exclude # no files will be deleted: aws s3 sync s3://sync-delete-exclude /tmp/sync-delete-exclude \ --exclude=3 --exclude=4 --delete --dryrun ``` This is not immediately obvious from the documentation provided, and the interaction between exclusion filters and the `--delete` strategy flag should be explicitly stated.
- Loading branch information