Blobify is a .NET Global tool that archives (moves) files from a local folder to Azure Blob Storage container.
dotnet tool install -g Blobifyblobify archive <inputpath> <azureStorageAccount> <azureStorageAccountContainer> [OPTIONS]
blobify archive inputpath storageaccountname storagecontainer
<inputpath>                       Input path
<azureStorageAccount>             Azure Storage Account Name
<azureStorageAccountContainer>    Azure Storage Account Container Name
-h, --help               Prints help information
    --azure-tenant-id    Azure Tentant ID to sign into
    --file-pattern       Local file pattern to match
By default it'll try authenticate using the DefaultAzureCredential which tries to authorize in the following order based on your environment.
- EnvironmentCredential
- WorkloadIdentityCredential
- ManagedIdentityCredential
- SharedTokenCacheCredential
- VisualStudioCredential
- VisualStudioCodeCredential
- AzureCliCredential
- AzurePowerShellCredential
- AzureDeveloperCliCredential
- InteractiveBrowserCredential
- Set the environment variable AZURE_TENANT_IDto the tenant ID (found in theApp Registrationoverview for your app).
- Set the environment variable AZURE_CLIENT_IDto the client ID (found in theApp Registrationoverview for your app).
- Set the environment variable AZURE_CLIENT_SECRETto the secret noted earlier.
- Set the environment variable AZURE_AUTHORITY_HOSTtohttps://login.microsoftonline.com/.
flowchart TD
    ls[List files in source path]
    exists[Verifies if blob file already exists]
    upload[Upload file]
    verify[Verifies MD5 hash]
    delete[Delete file]
    skip[Skip file]
    ls --> exists
    exists --Found--> verify
    exists --Not Found--> upload
    upload --> verify
    verify --Matches--> delete
    verify --Not Matches--> skip