azs-util
8.0.1
See the version list below for details.
dotnet tool install --global azs-util --version 8.0.1
dotnet new tool-manifest # if you are setting up this repo dotnet tool install --local azs-util --version 8.0.1
#tool dotnet:?package=azs-util&version=8.0.1
nuke :add-package azs-util --version 8.0.1
azs-util - Azure Storage Account Utility
azs-util
is a utility for Azure storage accounts that goes in an extra step beyond what az-cli
or azcopy
can do. Learn more at https://endpointsystems.com/blog/introducing-azs-util.
Getting Started
Set the AZURE_STORAGE_CONNECTION_STRING
environment variable to the connection string of the storage account you wish to work on, or use the cs
option to pass it in on the command line.
For commands where another storage account is involved, set the AZURE_STORAGE_CONNECTION_DEST
environment variable to the destination storage account you wish to target, or use the ds
option to pass it in on the command line.
Container Commands
Container storage commands
Usage: azs-util containers [command] [options]
Options:
-?|-h|--help Show help information
Commands:
delete deletes containers from the storage account.
list List blob storage container names.
size get container size
The delete
command will allow for single container deletion or a bulk delete of all containers in your storage account.
The list
command gives you a clean, simple list of container names without the CLI jiu-jitsu of a JMESPath Query.
The size
command iterates through all blobs, providing an object count and size for each container, and summary info at the end.
Table Commands
Table commands
Usage: azs-util table [command] [options]
Options:
-?|-h|--help Show help information
Commands:
cpc Copy one column to another (new) column. Similar to renaming except the original exists.
cpt Copy a table from one storage account to another.
dc Delete a column in your table.
dt Delete a table.
rename-pk Rename a PartitionKey to something else.
list-pk List all unique PartitionKeys.
list-rk List all RowKeys for a given PartitionKey.
Run 'table [command] -?|-h|--help' for more information about a command.
Product | Versions Compatible and additional computed target framework versions. |
---|---|
.NET | net6.0 is compatible. net6.0-android was computed. net6.0-ios was computed. net6.0-maccatalyst was computed. net6.0-macos was computed. net6.0-tvos was computed. net6.0-windows was computed. net7.0 was computed. net7.0-android was computed. net7.0-ios was computed. net7.0-maccatalyst was computed. net7.0-macos was computed. net7.0-tvos was computed. net7.0-windows was computed. net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. |
This package has no dependencies.
exit gracefully after a bad command..