How do I avoid the prompts while using azcopy on Linux in a script?

后端 未结 2 1631
广开言路
广开言路 2021-01-05 11:53

I\'ve got a Python script that runs the AzCopy command to backup my storage accounts. However, it keeps throwing a prompt with the following message.

2条回答
  •  暖寄归人
    2021-01-05 12:12

    If using azcopy sync, you have to be crafty:

    echo N | azcopy sync ... --force=false
    

提交回复
热议问题