Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

azure command line tool for linux machine to upload/download data to/from Azure Storage

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

  • AzCopy
  • cloudcopy

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.

like image 582
Rajesh Barri Avatar asked Sep 05 '13 06:09

Rajesh Barri


People also ask

Which tool can be used to upload data to Azure storage account?

You can upload files and directories to Blob storage by using the AzCopy v10 command-line utility.


Video Answer


3 Answers

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

like image 200
techmike2kx Avatar answered Oct 13 '22 05:10

techmike2kx


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]

like image 23
fpark Avatar answered Oct 13 '22 06:10

fpark


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.

like image 28
kunal Avatar answered Oct 13 '22 06:10

kunal