Azure / Azure/azure-cli

Filetype include/ exclude in az storage file download-batch

Open
#24,802 8 comments 0 reactions 2 assignees Claimed by @calvinhzy View on GitHub
act-codegen-extensibility-squad Auto-Assign customer-reported feature-request Service Attention Storage
Dominant language
Python
Stars
4.6k
Forks
3.5k
Avg merge
3d 2h
Merged PRs (30d)
60

Description

**Related command**

az storage file download-batch
az storage file download

**Is your feature request related to a problem? Please describe.**

The `--pattern` argument makes it really hard to exclude multiple filetypes. For example excluding `.png` files result in `--pattern *.[!p][!n][!g]`. Excluding more than one filetype is even more complex.

**Describe the solution you'd like**

Some kind of black/ whitelisting filetypes would be a more intuitive solution e.g. `--exclude "png,jpg,tiff"` or `--include "xml"`.

**Describe alternatives you've considered**

-

**Additional context**

-

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.