powershell - Azure Storage: use AzCopy.exe to copy a folder from blob storage to another storage account -


using azcopy.exe, able copy on entire container successfully. however, cannot figure out how copy on blob name includes folder structure. have tried following:

.\azcopy.exe /source:https://sourceaccount.blob.core.windows.net/container /dest:https://destaccount.blob.core.windows.net/container /sourcekey:sourcekey== /destkey:destkey== /s /pattern:corruptzips/2013/6 

while changing /pattern: things like:

  • /pattern:corruptzips/2013/6/*
  • /pattern:corruptzips/2013/6/.
  • /pattern:corruptzips/2013/6/

and says there 0 records copied. can done or container/file copying? thank you.

@naspinski, there other tool named azure data factory can copying folder blob storage account one. please refer article move data , azure blob using azure data factory know , follow steps below do.

  1. create data factory on azure portal.
  2. click copy data button below move powercopytool interface, , follow tips copy folder step step.

enter image description here

enter image description here


Comments