Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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.
- Host: GitHub
- URL: https://github.com/vsingh55/ltc-clouduploader_cli
- Owner: vsingh55
- License: mit
- Created: 2023-12-17T12:16:08.000Z (about 1 year ago)
- Default Branch: main
- Last Pushed: 2023-12-30T11:51:12.000Z (about 1 year ago)
- Last Synced: 2024-04-05T11:32:10.783Z (9 months ago)
- Topics: azure, azure-blob-storage, bash, bash-script
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 1
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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.