-
Notifications
You must be signed in to change notification settings - Fork 3k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Can't find --overwrite in az storage blob upload/upload-batch #21875
Comments
storage |
Was not able to reproduce it either with the same python version 3.8.9. Please try rerunning |
Thanks for quick response. I restarted machine, reinstalled Azure CLI. I also tried WSL2 Ubuntu. There is no this argument. Azure CLI in Portal is good. |
I also cannot see this parameter. If I attempt to use it, it says the command doesn't exist.
Running Ubuntu 20.04, installed via apt repo.
|
I don't think this is a good way to update the CLI... and has put my Anaconda env in a really bad state. I think the only method you should try to use to upgrade the cli is "az upgrade". And then upgrade Python packages with commands like "pip install --upgrade az-storage". I think this is the best way to install AzureCLI I had to go within to my Anaconda Env, and manually delete "az.bat" from the Scripts folder, so that it would use my default system env instead. |
Any update on this issue? I am using az cli 2.37.0 and I cannot see the |
This argument is only for upload/upload-batch. download/download-batch does not have overwrite option, user will need to rename or remove the files in the destination directory. |
I think that changed from version 2.37.0. The following error occured if the destination-files already exists:
azure-cli 2.37.0 * |
Sorry about this. It was an oversight, the current behavior is that download/download-batch does not have overwrite option, user will need to rename or remove the files in the destination directory. |
We are adding --overwrite in 2.39.0 without changing existing behavior, (for download overwrite by default, and for download-batch does not overwrite by default) |
Describe the bug
I notice a breaking change in 2.34.1. However, I can't see it in my machine. If I pass this parameter, it gives me an "unrecognized parameter" error.
[BREAKING CHANGE] az storage blob upload/upload-batch: Fix --overwrite that it no longer overwrite by default
https://docs.microsoft.com/en-us/cli/azure/release-notes-azure-cli
To Reproduce
Expected behavior
Environment summary
MSI
Windows 10
Additional context
The text was updated successfully, but these errors were encountered: