Skip to content

Commit a25dd4a

Browse files
authored
Merge pull request #50624 from lesterw1/patch-3
Update storage-ref-azcopy-sync.md
2 parents cabf9b9 + ce1b4ed commit a25dd4a

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

articles/storage/common/storage-ref-azcopy-sync.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -61,6 +61,9 @@ Sync a single file:
6161
azcopy sync "/path/to/file.txt" "https://[account].blob.core.windows.net/[container]/[path/to/blob]"
6262
```
6363

64+
> [!NOTE]
65+
> The destination blob *must* exist. Use `azcopy copy` to copy a single file that does not yet exist in the destination. Otherwise, the following error occurs: `Cannot perform sync due to error: sync must happen between source and destination of the same type, e.g. either file <-> file, or directory/container <-> directory/container`.
66+
6467
Same as above, but this time, also compute MD5 hash of the file content and save it as the blob's Content-MD5 property:
6568

6669
```azcopy

0 commit comments

Comments
 (0)