Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/vsingh55/ltc-clouduploader_cli

It contains bash script that provides an efficient way to upload files from your local system to Azure Blob Storage.
https://github.com/vsingh55/ltc-clouduploader_cli

azure azure-blob-storage bash bash-script

Last synced: about 1 month ago
JSON representation

It contains bash script that provides an efficient way to upload files from your local system to Azure Blob Storage.

Awesome Lists containing this project

README

        

# LTC-CloudUploader_CLI

## Overview

This Bash script provides a simple and efficient way to upload files from your local system to Azure Blob Storage. The script utilizes Azure Storage REST API to interact with Azure Blob Storage.

## Prerequisites

>Before using the script, ensure you have the following:

**1. Azure Account:** Signup for azure free account if you don't have.

**2. Azure Storage Account:** Create a storage account on the Azure portal.

**3. Azure Storage Explorer (Optional):** Use the Azure Storage Explorer to manage and explore your Azure Storage resources.

## Setup

>**Azure Storage Account Setup:**

Go to the Azure portal.

Create a new Storage Account or use an existing one.

Configure Azure Storage Account Credentials:
> The following credential will be asked on running script:

>1.Azure Storage Account Name

>2.Azure Storage Account Key

>3.Target Container Name

## **How To Use**
**1.** Clone the Repository:

```
sudo dnf install -y git
git clone https://github.com/krvsc/LTC-CloudUploader_CLI.git
```

**2.** Run the cmd
```
az login
```

**3.** Run the Script:

>Note: Make the script executable:
```
chmod +x CloudUploader.sh
```

**4.** Run the script with the local file path and the desired Azure Blob Storage destination path:
```
bash CloudUploader.sh /path/to/local/file.*
```

## Example

```
bash CloudUploader.sh ~/Documents/sample.txt
```
This command will upload the sample.txt file from your local system to the container in Azure Blob Storage.

### Contribution

Feel free to contribute to this project by opening issues or submitting pull requests.

>I would greatly appreciate your contribution to enhance this script for multi-cloud and multifile uploading.

## License
This project is licensed under the MIT License. See the LICENSE file for details.