tool to push files into Windows Azure blob storage
npm install pushtocontainer
|1||downloads in the last month|
|Version||1.0.0 last updated 2 years ago|
|Dependencies||azure, commander, underscore|
pushtocontainer.js copies files to a Windows Azure blob storage container.
It only pushes changed files, so it can be used any time you want to make
a container mirror your local file system.
It's especially handy for things like
noderole, which can be configured to
pull source files from a blob container. Using
changes can be efficiently copied to blob storage to update a running app.
npm install pushtocontainer -g
Usage: pushtocontainer [options]
-h, --help output usage information -V, --version output the version number -p, --path [path] local path (defaults to the current directory) -a, --account <account-name> blob storage account name -k, --key <account-key> blob storage account key -c, --container <container-name> blob storage container name -m, --max-connections [maximum] maximum number of concurrent connections
pushtocontainer.js relies on MD5 hashes to determine which files should be
transferred. If you copy files into blob storage via some other tool, you may
find that the MD5 hash hasn't been set, and
pushtocontainer.js transfers all
the files again (thinking they may need to be updated).
Some proxies (particularly corporate environments) block many rapid HTTP
requests in succession. If this happens to you, you can simply wait and run the
tool again. It won't transfer files that are already up-to-date. You may want
to use the
--max-connections option to limit the concurrency. This will
effectively slow down the uploads and possibly avoid proxy limits.