Open mutoo opened 4 years ago
I was trying to list the files in the bucket with multiple exclusion filters.
It should be allowed as it's mentioned in the documentation: https://github.com/aliyun/aliyun-cli/blob/master/oss/lib/ls.go#L44
--include和--exclude可以出现多次。当多个规则出现时,这些规则按从左往右的顺序应用
But it outputs an error saying: "--exclude duplicated"
- Command Format:
$ aliyun oss ls oss://my-bucket/ --exclude "*.png" --exclude "*.jpg"
- Output:
ERROR: parse failed --exclude duplicated
Thank you for your Tssue. For some reasons, the CLI's support for OSS's flag is not perfect. Sorry for the problem. We will record the problem and fix it.
Do you have any timeline on when this can be fixed?
I would like to emphasize the importance of this issue to be fixed. I'm currently porting our workflow from AWS to Alibaba Cloud and this issue is quite annoying, because I can't use a lot of my scripts which use multiple --exclude's quite often... And changing them isn't an option because it's an error that should work according to the docs. Do you see any chance to accelerate resolving that issue? And/Or: what is the time frame for "next-major-version"? Best regards Andreas
I was trying to list the files in the bucket with multiple exclusion filters.
It should be allowed as it's mentioned in the documentation: https://github.com/aliyun/aliyun-cli/blob/master/oss/lib/ls.go#L44
But it outputs an error saying: "--exclude duplicated"
Command Format:
Output: