Search code examples
azcopy

azcopy v10 - copy to destination only if destination file does not exist


My command is .\azcopy cp "source" "dest" --recursive=true

Where both source and dest are storage containers.

When I run the cp command, it seems like azcopy iterates over every file and transfers to destination.

Is there way to only copy the file if the file does not exist or is different in the destination?

azcopy sync does something similar, but only supports dest/origin of local/container and not container/container, as is my understanding.


Solution

  • We've just added container to container support in version 10.3