AZcopy Azure Files

Michael Littman 41 Reputation points
2022-03-07T17:03:29.42+00:00

Am I able to copy out all the contents (files and folders) from one file share called (TEST-A) to a new file share called (TEST-B)?

So far what happens is it makes a new folder called TEST-A under the folder for TEST-B and copies everything over. I just want all the stuff within TEST-A to just be dumped into the root of TEST-B

So copying directory to directory works fine it will copy (test-a\folder1) and contents to (test-b\folder1)

Thanks

Azure Files
Azure Files
An Azure service that offers file shares in the cloud.
1,180 questions
0 comments No comments
{count} votes

Accepted answer
  1. Sumarigo-MSFT 44,001 Reputation points Microsoft Employee
    2022-03-08T15:53:16.713+00:00

    @Michael Littman Can you please elaborate bit more on your query for better understanding? "So far what happens is it makes a new folder called TEST-A under the folder for TEST-B and copies everything over. I just want all the stuff within TEST-A to just be dumped into the root of TEST-B"

    If possible can you share the screenshot of the structure? What's your AzCopy command line which resulted the unexpected creation of folder

    Additional information: The easiest way to use the Azure Storage Explorer tool

    For complete guidance, visit any of these articles AzCopy v10

    azcopy copy "https://source_storage.file.core.windows.net/source_/source_SAS_Key" "https://target_storage.file.core.windows.net/target_/target_SAS_Key" --recursive=true  
    

0 additional answers

Sort by: Most helpful