Skip to content

Give Examples delete-batch #6615

@rogerywoo

Description

@rogerywoo

It would help if actual examples were provided. For source should you include https. Should it be:
az storage file <command> -- source https://<your_account_name1>.blob.core.windows.net/<your_container_name1>/<your_sub_directory_at_blob1> or something else?

I have tried various commands to delete a number of files without success. Here are some examples I tried:

az storage file delete-batch --source https://.blob.core.windows.net/ --account-key --pattern xxx_2015 --dryrun

az storage file delete-batch --source .blob.core.windows.net/ --account-key --pattern xxx_2015 --dryrun

az storage file delete-batch --source blob.core.windows.net/ --account-name --account-key --pattern xxx_2015 --dryrun


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

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