Was this case ever considered? So I wanted this folder a/b/ inside my fileshare, but when I ran the command fails. Like in Linux, mkdir has a -p option to make the parent directory first instead of failing.
az storage directory create --account-name ACCOUNTNAME --share-name myfileshare --name a/b/
The / symbol is not even an allowed character in the folder name so I would think it's easy to parse the folder structure from the argument.

Desired behavior:
Create folder a/, then folder a/b/ automatically. Meaning it will create the parent folder first instead of failing.
I have to do this manually.
az storage directory create --account-name ACCOUNTNAME --share-name myfileshare --name a/
az storage directory create --account-name ACCOUNTNAME --share-name myfileshare --name a/b/
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.
Was this case ever considered? So I wanted this folder
a/b/inside my fileshare, but when I ran the command fails. Like in Linux, mkdir has a -p option to make the parent directory first instead of failing.The
/symbol is not even an allowed character in the folder name so I would think it's easy to parse the folder structure from the argument.Desired behavior:
Create folder
a/, then foldera/b/automatically. Meaning it will create the parent folder first instead of failing.I have to do this manually.
Document Details
⚠ Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.