Skip to content

Error: parse failed --exclude duplicated #255

Open
@mutoo

Description

@mutoo

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

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions