I have the following structure
mf
├── dir1
│ └── file1
├── file1
├── file2
├── file3
├── file4
└── file5
Is it possible to upload only the content that is inside the mf folder by az cli commands to a storage account container?
I have reproduced in my environment and got expected results as below and I followed Microsoft-Document:
Firstly, I have :
Then used :
az storage blob upload-batch --destination "name of container" --account-name "rithwik" --source "C:\Users\Downloads\mf"
After Uploading:
If you want it in same structure with mf :
az storage blob upload-batch --destination "rithwik" --account-name "rithwik" --destination-path mf --source "C:\Users\Downloads\mf"
In Azure Portal:
Inside mf:
Inside dir1: