Azure / Azure/azure-cli-extensions

az storage azcopy blob sync: allow setting of --delete-destination

Open
#3,103 2 comments 0 reactions 1 assignee Assigned to @evelyn-ys View on GitHub
feature-request Storage
Dominant language
Python
Stars
454
Forks
1.7k
Avg merge
2d 19h
Merged PRs (30d)
64

Description

### Extension name
storage-preview

### Description

https://github.com/Azure/azure-cli-extensions/blob/902e9bc8b079c6d637badeb9c6bd9779952cf04d/src/storage-preview/azext_storage_preview/operations/azcopy.py#L46-L48

Having it set to `true` is what I need in my use case, but (a) some people may need `false`, and (b) `false` is the [default](https://docs.microsoft.com/en-us/azure/storage/common/storage-ref-azcopy-sync#options) in plain azcopy.

This should be added as an optional flag to `az storage azcopy blob sync`, and documentation should explicitly call out that the default is `true`.

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.