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: over 1 year 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 (over 2 years ago)
- Default Branch: main
- Last Pushed: 2024-12-02T22:13:18.000Z (over 1 year ago)
- Last Synced: 2025-01-26T11:28:20.646Z (over 1 year ago)
- Topics: azure, azure-blob-storage, bash, bash-script
- Language: Shell
- Homepage: https://vijaysingh.cloud/projects/2024500-clouduploadercli/
- Size: 14.6 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:
```
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.
## [Blog](https://blogs.vijaysingh.cloud/project-streamlining-file-uploads-to-azure-blob-storage-with-ltc-clouduploadercli)
### 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.