Lets suppose I have a FolderA
on Azure blob storage and I want a new folder named FolderB
with the same content as FolderA
and on the same Azure blob container. Is there anyway I can do this programmatically or in an automated way rather than creating the folder and uploading all the content manually?
Using azcopy you can do this. This example is from here
Copy one blob virtual directory to another by using a SAS token:
azcopy cp "https://[srcaccount].blob.core.windows.net/[container]/[path/to/directory]?[SAS]" "https://[destaccount].blob.core.windows.net/[container]/[path/to/directory]?[SAS]" --recursive=true
Source and destination account can be the same