Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/nemeslaszlo/azure.blob.downloader
Download content from Azure Blob Storage, file, "folders" not folders, but you can see them in the UI as they are or full container contents
https://github.com/nemeslaszlo/azure.blob.downloader
azure azure-blob azure-blob-container azure-blob-storage command-line-parser download-manager downloader
Last synced: about 1 month ago
JSON representation
Download content from Azure Blob Storage, file, "folders" not folders, but you can see them in the UI as they are or full container contents
- Host: GitHub
- URL: https://github.com/nemeslaszlo/azure.blob.downloader
- Owner: NemesLaszlo
- License: mit
- Created: 2024-11-21T14:10:45.000Z (about 1 month ago)
- Default Branch: main
- Last Pushed: 2024-11-21T14:15:23.000Z (about 1 month ago)
- Last Synced: 2024-11-21T15:24:38.644Z (about 1 month ago)
- Topics: azure, azure-blob, azure-blob-container, azure-blob-storage, command-line-parser, download-manager, downloader
- Language: C#
- Homepage:
- Size: 5.86 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Azure.Blob.Downloader
Download content from Azure Blob Storage, file, "folders" not folders, but you can see them in the UI as they are or full container contents#### Download from Azure blob storage
In the case of Azure blob, we cannot talk about folders, but when navigating on the UI, we can see a similar structure, which is why it refers to the implementation folders when using different prefixes.
##### Proposed Command-Line Parameters
- `--storage-account-key` (or `-k`): Specifies the Azure Storage account key.
- `--storage-account-name` (or `-a`): Specifies the Azure Storage account name.
- `--container` (or `-c`): Specifies the container name in Azure Blob Storage.
- `--path` (or `-p`): Specifies the path inside the container to either a specific file or a "folder" (prefix).
- `--destination` (or `-d`): Specifies the local destination folder for downloading the blobs.
- `--recursive` (or `-r`): A flag to indicate recursive downloading if a "folder" path is specified.##### Example Usage
- Download a specific file:
`Azure.Blob.Downloader -k "myaccountkey" -a "mystorage" -c "mycontainer" -p "folder1/file.txt" -d "./downloads"`
- Download a "folder" (prefix) recursively:
`Azure.Blob.Downloader -k "myaccountkey" -a "mystorage" -c "mycontainer" -p "folder1" -d "./downloads" -r`
- Download the entire container:
`Azure.Blob.Downloader -k "myaccountkey" -a "mystorage" -c "mycontainer" -d "./downloads" -r`