Skip to content

Commit 8b78564

Browse files
authored
Merge pull request #92887 from normesta/normesta-azcopy
Adding note for windows command console users
2 parents 53e66a3 + 0549efa commit 8b78564

File tree

3 files changed

+34
-5
lines changed

3 files changed

+34
-5
lines changed

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

Lines changed: 16 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ description: This article contains a collection of AzCopy example commands that
44
author: normesta
55
ms.service: storage
66
ms.topic: conceptual
7-
ms.date: 10/16/2019
7+
ms.date: 10/22/2019
88
ms.author: normesta
99
ms.subservice: common
1010
ms.reviewer: dineshm
@@ -27,6 +27,9 @@ See the [Get started with AzCopy](storage-use-azcopy-v10.md) article to download
2727
2828
## Create a container
2929

30+
> [!TIP]
31+
> The examples in this section enclose path arguments with single quotes (''). Use single quotes in all command shells except for the Windows Command Shell (cmd.exe). If you're using a Windows Command Shell (cmd.exe), enclose path arguments with double quotes ("") instead of single quotes ('').
32+
3033
You can use the [azcopy make](storage-ref-azcopy-make.md) command to create a container. The examples in this section create a container named `mycontainer`.
3134

3235
| | |
@@ -49,11 +52,11 @@ This section contains the following examples:
4952
> * Upload the contents of a directory
5053
> * Upload specific files
5154
52-
> [!NOTE]
53-
> AzCopy doesn't automatically calculate and store the file's md5 hash code. If you want AzCopy to do that, then append the `--put-md5` flag to each copy command. That way, when the blob is downloaded, AzCopy calculates an MD5 hash for downloaded data and verifies that the MD5 hash stored in the blob's `Content-md5` property matches the calculated hash.
54-
5555
For detailed reference docs, see [azcopy copy](storage-ref-azcopy-copy.md).
5656

57+
> [!TIP]
58+
> The examples in this section enclose path arguments with single quotes (''). Use single quotes in all command shells except for the Windows Command Shell (cmd.exe). If you're using a Windows Command Shell (cmd.exe), enclose path arguments with double quotes ("") instead of single quotes ('').
59+
5760
### Upload a file
5861

5962
| | |
@@ -117,7 +120,6 @@ In this example, AzCopy transfers the `C:\myDirectory\photos` directory and the
117120

118121
You can also exclude files by using the `--exclude-path` option. To learn more, see [azcopy copy](storage-ref-azcopy-copy.md) reference docs.
119122

120-
121123
#### Use wildcard characters
122124

123125
Use the [azcopy copy](storage-ref-azcopy-copy.md) command with the `--include-pattern` option. Specify partial names that include the wildcard characters. Separate names by using a semicolin (`;`).
@@ -149,6 +151,9 @@ This section contains the following examples:
149151
150152
For detailed reference docs, see [azcopy copy](storage-ref-azcopy-copy.md).
151153

154+
> [!TIP]
155+
> The examples in this section enclose path arguments with single quotes (''). Use single quotes in all command shells except for the Windows Command Shell (cmd.exe). If you're using a Windows Command Shell (cmd.exe), enclose path arguments with double quotes ("") instead of single quotes ('').
156+
152157
### Download a file
153158

154159
| | |
@@ -237,6 +242,9 @@ This section contains the following examples:
237242
238243
For detailed reference docs, see [azcopy copy](storage-ref-azcopy-copy.md).
239244

245+
> [!TIP]
246+
> The examples in this section enclose path arguments with single quotes (''). Use single quotes in all command shells except for the Windows Command Shell (cmd.exe). If you're using a Windows Command Shell (cmd.exe), enclose path arguments with double quotes ("") instead of single quotes ('').
247+
240248
### Copy a blob to another storage account
241249

242250
| | |
@@ -281,6 +289,9 @@ If you set the `--delete-destination` flag to `true` AzCopy deletes files withou
281289
282290
For detailed reference docs, see [azcopy sync](storage-ref-azcopy-sync.md).
283291

292+
> [!TIP]
293+
> The examples in this section enclose path arguments with single quotes (''). Use single quotes in all command shells except for the Windows Command Shell (cmd.exe). If you're using a Windows Command Shell (cmd.exe), enclose path arguments with double quotes ("") instead of single quotes ('').
294+
284295
### Update a container with changes to a local file system
285296

286297
In this case, the container is the destination, and the local file system is the source.

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

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,9 @@ Before you begin, see the [Get started with AzCopy](storage-use-azcopy-v10.md) a
1818

1919
You can use the [azcopy make](storage-ref-azcopy-make.md) command to create a file share. The example in this section creates a file share named `myfileshare`.
2020

21+
> [!TIP]
22+
> The examples in this section enclose path arguments with single quotes (''). Use single quotes in all command shells except for the Windows Command Shell (cmd.exe). If you're using a Windows Command Shell (cmd.exe), enclose path arguments with double quotes ("") instead of single quotes ('').
23+
2124
| | |
2225
|--------|-----------|
2326
| **Syntax** | `azcopy make 'https://<storage-account-name>.file.core.windows.net/<file-share-name>?<SAS-token>'` |
@@ -42,6 +45,9 @@ This section contains the following examples:
4245
4346
For detailed reference docs see [azcopy copy](storage-ref-azcopy-copy.md).
4447

48+
> [!TIP]
49+
> The examples in this section enclose path arguments with single quotes (''). Use single quotes in all command shells except for the Windows Command Shell (cmd.exe). If you're using a Windows Command Shell (cmd.exe), enclose path arguments with double quotes ("") instead of single quotes ('').
50+
4551
### Upload a file
4652

4753
| | |
@@ -127,6 +133,9 @@ This section contains the following examples:
127133
128134
For detailed reference docs see [azcopy copy](storage-ref-azcopy-copy.md).
129135

136+
> [!TIP]
137+
> The examples in this section enclose path arguments with single quotes (''). Use single quotes in all command shells except for the Windows Command Shell (cmd.exe). If you're using a Windows Command Shell (cmd.exe), enclose path arguments with double quotes ("") instead of single quotes ('').
138+
130139
### Download a file
131140

132141
| | |
@@ -201,6 +210,9 @@ This section contains the following examples:
201210
202211
For detailed reference docs, see [azcopy copy](storage-ref-azcopy-copy.md).
203212

213+
> [!TIP]
214+
> The examples in this section enclose path arguments with single quotes (''). Use single quotes in all command shells except for the Windows Command Shell (cmd.exe). If you're using a Windows Command Shell (cmd.exe), enclose path arguments with double quotes ("") instead of single quotes ('').
215+
204216
### Copy a file to another storage account
205217

206218
| | |
@@ -242,6 +254,9 @@ If you set the `--delete-destination` flag to `true` AzCopy deletes files withou
242254

243255
For detailed reference docs, see [azcopy sync](storage-ref-azcopy-sync.md).
244256

257+
> [!TIP]
258+
> The examples in this section enclose path arguments with single quotes (''). Use single quotes in all command shells except for the Windows Command Shell (cmd.exe). If you're using a Windows Command Shell (cmd.exe), enclose path arguments with double quotes ("") instead of single quotes ('').
259+
245260
### Update a file share with changes to another file share
246261

247262
The first file share that appears in this command is the source. The second one is the destination.

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,9 @@ AzCopy uses the [Put Block From URL](https://docs.microsoft.com/rest/api/storage
4848
> [!IMPORTANT]
4949
> This feature is currently in preview. If you decide to remove data from your S3 buckets after a copy operation, make sure to verify that the data was properly copied to your storage account before you remove the data.
5050
51+
> [!TIP]
52+
> The examples in this section enclose path arguments with single quotes (''). Use single quotes in all command shells except for the Windows Command Shell (cmd.exe). If you're using a Windows Command Shell (cmd.exe), enclose path arguments with double quotes ("") instead of single quotes ('').
53+
5154
### Copy an object
5255

5356
| | |

0 commit comments

Comments
 (0)