Using AzCopy
- To install AzCopy
- Windows
choco install azcopy10 -y - Linux/Mac Refer Here
- Windows
- Refer Here for the usage status
- To upload the single file
azcopy copy 'Hello.txt' 'https://<storage-acc-name>.blob.core.windows.net/<container-name>/<blob><?SAS-TOKEN>'
- To upload a directory
azcopy copy '<source-dir>' 'https://<storage-acc-name>.blob.core.windows.net/<container-name>/<?SAS-TOKEN>' --recursive=true
- Refer Here for transferring data
Exercises
-
Write a basic syntax
- to sync data between two storage account
- to copy data from s3 to Azure Storage Account
- Azure Storage Explorer uses AZCopy to copy folders and files
- Refer Here for Azure file Sync
