Delete Azure Blob Files Only In a Folder

If you are looking for a command to delete Azure blob files in a folder with one command, here is the solution;

az storage blob delete-batch -s mycontainer --pattern '*[/]*'

Leave a Reply

Your email address will not be published. Required fields are marked *