Skip to content

Commit a5d8eff

Browse files
Merge pull request #304913 from derdanu/azcopy-from-to
Update AzCopy documentation with detailed `--from-to` parameter usage
2 parents 1d08857 + 3d3e889 commit a5d8eff

1 file changed

Lines changed: 32 additions & 1 deletion

File tree

articles/storage/common/storage-use-azcopy-v10.md

Lines changed: 32 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: AzCopy is a command-line utility that you can use to copy data to,
44
author: normesta
55
ms.service: azure-storage
66
ms.topic: how-to
7-
ms.date: 01/27/2025
7+
ms.date: 09/01/2025
88
ms.author: normesta
99
ms.subservice: storage-common-concepts
1010
ms.custom: ai-video-demo
@@ -240,6 +240,37 @@ To find example commands, see any of these articles.
240240
|Google Cloud Storage|[Copy data from Google Cloud Storage to Azure Storage (preview)](storage-use-azcopy-google-cloud.md)|
241241
|Azure Stack storage|[Transfer data with AzCopy and Azure Stack storage](/azure-stack/user/azure-stack-storage-transfer#azcopy)|
242242
243+
AzCopy uses the `--from-to` parameter to explicitly define the source and destination resource types when automatic detection may fail-such as in piping scenarios or emulators. This helps AzCopy understand the context of the transfer and optimize accordingly.
244+
245+
| FromTo Value | Description |
246+
|------------------------|---------------------------------------------------------------------------------------|
247+
| `BlobBlob` | Copy between two Azure Blob Storage locations |
248+
| `BlobBlobFS` | Copy from Azure Blob Storage to Azure Data Lake Gen2 (BlobFS) |
249+
| `BlobFSBlob` | Copy from Azure Data Lake Gen2 (BlobFS) to Azure Blob Storage |
250+
| `BlobFSBlobFS` | Copy between two Azure Data Lake Gen2 (BlobFS) locations |
251+
| `BlobFSFile` | Copy from Azure Data Lake Gen2 (BlobFS) to Azure File Storage |
252+
| `BlobFSLocal` | Download from Azure Data Lake Gen2 (BlobFS) to local file system |
253+
| `BlobFile` | Copy from Azure Blob Storage to Azure File Storage |
254+
| `BlobLocal` | Download from Azure Blob Storage to local file system |
255+
| `BlobPipe` | Stream data from Azure Blob Storage to a pipe |
256+
| `FileBlob` | Copy from Azure File Storage to Azure Blob Storage |
257+
| `FileBlobFS` | Copy from Azure File Storage to Azure Data Lake Gen2 (BlobFS) |
258+
| `FileSMBFileSMB` | Copy between two SMB shares in Azure File Storage |
259+
| `FileSMBLocal` | Download from SMB share in Azure File Storage to local file system |
260+
| `FileNFSFileNFS` | Copy between two NFS shares in Azure File Storage |
261+
| `FileNFSLocal` | Download from NFS share in Azure File Storage to local file system (Linux only) |
262+
| `FilePipe` | Stream data from Azure File Storage to a pipe |
263+
| `FileSMBFileSMB` | Copy between SMB shares (duplicate of above for completeness) |
264+
| `FileSMBLocal` | Download from SMB share to local file system |
265+
| `GCPBlob` | Copy from Google Cloud Storage to Azure Blob Storage |
266+
| `LocalBlob` | Upload from local file system to Azure Blob Storage |
267+
| `LocalBlobFS` | Upload from local file system to Azure Data Lake Gen2 (BlobFS) |
268+
| `LocalFileSMB` | Upload from local file system to SMB share in Azure File Storage |
269+
| `LocalFileNFS` | Upload from local file system (Linux only) to NFS share in Azure File Storage |
270+
| `PipeBlob` | Stream data from a pipe to Azure Blob Storage |
271+
| `PipeFile` | Stream data from a pipe to Azure File Storage |
272+
| `S3Blob` | Copy from Amazon S3 to Azure Blob Storage |
273+
243274
## Get command help
244275
245276
To see a list of commands, type `azcopy -h` and then press the ENTER key.

0 commit comments

Comments
 (0)