Skip to main content

Azure Blob Shell Command

Project description

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.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

blob-cli-0.0.2.tar.gz (3.2 kB view hashes)

Uploaded Source

Built Distribution

blob_cli-0.0.2-py3-none-any.whl (6.4 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page