Reputation: 502
I am looking for azure command line tool in linux. I found azure-cli, but its not supporting upload and download feature in azure storage (As per my knowledge).
I found some CLI tools but those are running only on windows. those are
So can anybody suggest one best azure CLI tool, which can run on linux machine and able to perform upload and download operations??
It would be great if that supports partial read and partial write.
Upvotes: 7
Views: 8156
Reputation: 476
Azure CLI 2.0 which is python based release supporting ARM based deployment can be used to download the blob storage contents one by one. Here is the step by step guide for the same - http://sanganakauthority.blogspot.in/2017/03/how-to-download-azure-blob-storage.html
However you can't download the all the blob from a container in one go. Cli does not support it as of today.
Upvotes: 1
Reputation: 2369
A little late to this question, but hopefully this will help anyone looking for an answer. The Azure Batch and HPC team has released a code sample with some AzCopy-like functionality on Python called blobxfer. [full disclosure: I'm a contributor for this code]
Upvotes: 7
Reputation: 495
There's support for upload and download :
azure storage blob upload [options] [file] [container] [blob]
azure storage blob download [options] [container] [blob] [destination]
If not seeing them try to update your cli tools first:
npm install azure-cli -g
(Node.js must be installed in your system)
Hope this helps
Upvotes: 9
Reputation: 495
if the above doesn help, you might also be able to install the latest version through elevated privileges like this sudo npm instal azure-cli -g
Upvotes: 1