Skip to content

Jhengsh/blob-cli

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 
 
 

Repository files navigation

blob-cli: Azure Blob Shell Command

Latest Release

Overview

  • Wapper azure-storage-blob for help you operate blob
  • Operate blob by set environment variables(AZURE_STORAGE_ACCOUNT, AZURE_CONTAINER_NAME, AZURE_ACCESS_KEY)
  • AZURE_ACCESS_KEY can be Access Key or Shared Access Signature
  • provide shell commands: blob_list, blob_tier, blob_upload, blob_download, blob_delete

$ export AZURE_STORAGE_ACCOUNT=azureblobcliaccounttest

$ export AZURE_CONTAINER_NAME=azureblobclicontainertest

$ export AZURE_BLOB_KEY=azureblobcliaccounttest_SAS_token

$ blob_list

$ # upload and set archive tier

$ ls -l | awk 'NR>3{print $9}' | xargs -n 1 -P 4 -I filename blob_upload -f filename -bf archive_folder -t archive

License

blob-cli is distributed under the MIT license.

About

command line for operate azure blob

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages