https://github.com/ysknkd/az-storage-uploader
Multiple files upload to Azure Blob Storage.
https://github.com/ysknkd/az-storage-uploader
azure-cli azure-storage-blob
Last synced: about 2 months ago
JSON representation
Multiple files upload to Azure Blob Storage.
- Host: GitHub
- URL: https://github.com/ysknkd/az-storage-uploader
- Owner: ysknkd
- Created: 2018-05-20T16:02:55.000Z (over 7 years ago)
- Default Branch: master
- Last Pushed: 2018-05-20T16:03:52.000Z (over 7 years ago)
- Last Synced: 2025-03-03T22:18:58.141Z (7 months ago)
- Topics: azure-cli, azure-storage-blob
- Language: Shell
- Size: 1000 Bytes
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# az-storage-uploader
Multiple files upload to Azure Blob Storage.
## Prerequisite
* Azure CLI 2.x or above.
Please export the your Azure Account.
```
$ export AZURE_STORAGE_ACCOUNT=
```or
```
$ export AZURE_STORAGE_CONNECTION_STRING=""
```Official document here. https://docs.microsoft.com/azure/storage/common/storage-azure-cli
## Usage
```console
$ ./az-storage-uploader.sh
```e.g.
```console
$ tree ./test
./test
├── sub_dir
│ └── sub_testfile
└── testfile
``````console
$ ./az-storage-uploader.sh ./test container
Exists Azure Storage AccountUploading ... 'sub_dir/sub_testfile'
Finished[#############################################################] 100.0000%
{
"etag": "...",
"lastModified": "..."
}Uploading ... 'testfile'
Finished[#############################################################] 100.0000%
{
"etag": "...",
"lastModified": "..."
}
```