An open API service indexing awesome lists of open source software.

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.

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 Account

Uploading ... 'sub_dir/sub_testfile'
Finished[#############################################################] 100.0000%
{
"etag": "...",
"lastModified": "..."
}

Uploading ... 'testfile'
Finished[#############################################################] 100.0000%
{
"etag": "...",
"lastModified": "..."
}
```