Tell AzCopy batch to overwrite files? Tell AzCopy batch to overwrite files? azure azure

Tell AzCopy batch to overwrite files?


Please try it with /Y option. From AzCopy Parameters:

/Y

Suppresses all AzCopy confirmation prompts.


For version 10, the default behavior is to overwrite without prompt and this can be controlled by the --overwrite flag (default 'true').

Overwrite the conflicting files and blobs at the destination if thisflag is set to true. (default 'true') Possible values include 'true','false', 'prompt', and 'ifSourceNewer'. For destinations that supportfolders, conflicting folder-level properties will be overwritten thisflag is 'true' or if a positive response is provided to the prompt.(default "true")

See also the azcopy copy page for reference.