Socket
Socket
Sign inDemoInstall

azure-blob-container-download

Package Overview
Dependencies
130
Maintainers
1
Versions
2
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    azure-blob-container-download

Download blobs from an Azure container.


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Created
Weekly downloads
 

Readme

Source

azure-blob-container-download

Download blobs from an Azure container.

npm version GitHub tag License

A simple, cross-platform tool to bulk-download blobs from an Azure storage container.

Though limited in scope, it does some things official tools don't:

Install

npm install --global azure-blob-container-download

Options

Usage: abcd [options]

Options:
  --account           Storage account (or set AZURE_STORAGE_ACCOUNT)  [string]
  --key               Storage access key (or set AZURE_STORAGE_ACCESS_KEY)  [string]
  --containerPattern  Regular expression filter for container names  [string]
  --blobPattern       Regular expression filter for blob names  [string]
  --startDate         Starting date for blobs  [string]
  --endDate           Ending date for blobs  [string]
  --snapshots         True to include blob snapshots  [boolean]
  --version           Show version number  [boolean]
  --help              Show help  [boolean]

Download blobs from an Azure container.
https://github.com/DavidAnson/azure-blob-container-download

Examples

Get help:

azure-blob-container-download --help

Or get help using the short name:

abcd --help

Download all blobs in a storage account:

abcd --account ACCOUNT --key KEY

Or set environment variables AZURE_STORAGE_ACCOUNT and AZURE_STORAGE_ACCESS_KEY first:

abcd

Include blob snapshots:

abcd --snapshots

Filter by last modified date of each blob:

abcd --startDate 2016-02-13 --endDate 2016-08-04

Filter by container name and/or blob name using regular expressions:

abcd --containerPattern container --blobPattern "blobs?"

Note: Some regular expression characters require escaping on the command line. The output from azure-blob-container-download shows when this happens.

For example (Windows):

C:\>abcd --containerPattern ^text
Downloading blobs in account from [beginning of time] to [end of time].
Listing containers in account matching /text/...

The leading ^ character of the --containerPattern has been lost by the shell. It can be recovered by quoting the parameter:

C:\>abcd --containerPattern "^text"
Downloading blobs in account from [beginning of time] to [end of time].
Listing containers in account matching /^text/...

History

  • 0.1.0 - Initial release
    • 0.1.1 - Patch for OS X

Keywords

FAQs

Last updated on 16 Apr 2017

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc