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

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


Please try azcopy with the --quiet option.

If you type azcopy --help, you will see this option with the following description:

--quiet              Suppresses all AzCopy confirmation prompts.


If using azcopy sync, you have to be crafty:

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