aws s3 sync --exclude (still) inconsistent
- Dominant language
- Python
- Stars
- 17.3k
- Forks
- 4.6k
- Avg merge
- 1d 2h
- Merged PRs (30d)
- 13
Description
```
$ cd ~
$ aws s3 sync / s3://bucket/test/ --exclude "bin/*" --dryrun
$ aws s3 sync / s3://bucket/test/ --exclude "/bin/*" --dryrun
$ aws s3 sync / s3://bucket/test/ --exclude "./bin/*" --dryrun
$ aws s3 sync / s3://bucket/test/ --exclude "/bin/*" --dryrun
$ cd /
$ aws s3 sync / s3://bucket/test/ --exclude "bin/*" --dryrun
$ aws s3 sync / s3://bucket/test/ --exclude "/bin/*" --dryrun
$ aws s3 sync / s3://bucket/test/ --exclude "./bin/*" --dryrun
$ aws s3 sync / s3://bucket/test/ --exclude "/bin/*" --dryrun
```
None of the above commands (whatever cwd is) will exclude /bin from being synch'ed
Using `"*/bin/*"` _would_ work, but it's unwanted since it would exclude other subdirectories like `home/foo/comp/bin/`
Contributor guide
Assessment
This issue has not been assessed yet.