Skip to content

Commit ef100ef

Browse files
committed
- readme update
1 parent 4b0715a commit ef100ef

File tree

2 files changed

+6
-6
lines changed

2 files changed

+6
-6
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ Sources and targets are decoupled, this design enables the composition of variou
2929
Download, extract and set permissions:
3030

3131
```bash
32-
wget -O bp_linux.tar.gz https://github.com/Azure/blobporter/releases/download/v0.6.03/bp_linux.tar.gz
32+
wget -O bp_linux.tar.gz https://github.com/Azure/blobporter/releases/download/v0.6.06/bp_linux.tar.gz
3333
tar -xvf bp_linux.tar.gz linux_amd64/blobporter
3434
chmod +x ~/linux_amd64/blobporter
3535
cd ~/linux_amd64
@@ -46,7 +46,7 @@ export ACCOUNT_KEY=<STORAGE_ACCOUNT_KEY>
4646
4747
### Windows
4848

49-
Download [BlobPorter.exe](https://github.com/Azure/blobporter/releases/download/v0.6.03/bp_windows.zip)
49+
Download [BlobPorter.exe](https://github.com/Azure/blobporter/releases/download/v0.6.06/bp_windows.zip)
5050

5151
Set environment variables (if using the command prompt):
5252

@@ -202,11 +202,11 @@ By default files are downloaded to the same directory where you are running blob
202202

203203
- `q`, `--quiet_mode` *bool* if present or true, the progress indicator is not displayed. The files to transfer, errors, warnings and transfer completion summary is still displayed.
204204

205-
- `x`, `--files_per_transfer` *int* number of files in a batch transfer. Default is 200.
205+
- `x`, `--files_per_transfer` *int* number of files in a batch transfer. Default is 500.
206206

207207
- `h`, `--handles_per_file` *int* number of open handles for concurrent reads and writes per file. Default is 2.
208208

209-
- `p`, `--keep_directories` *bool* if set blobs are downloaded or uploaded keeping the directory structure from the source. Not applicable when the source is a HTTP endpoint.
209+
- `i`, `--remove_directories` *bool* if set blobs are downloaded or uploaded without keeping the directory structure of the source. Not applicable when the source is a HTTP endpoint.
210210

211211
## Performance Considerations
212212

blobporter.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ func init() {
4545
dupcheckLevelMsg = "Desired level of effort to detect duplicate data to minimize upload size.\n\tMust be one of " + transfer.DupeCheckLevelStr
4646
transferDefMsg = "Defines the type of source and target in the transfer.\n\tMust be one of:\n\tfile-blockblob, file-pageblob, http-blockblob, http-pageblob, blob-file,\n\tpageblock-file (alias of blob-file), blockblob-file (alias of blob-file)\n\tor http-file."
4747
exactNameMatchMsg = "If set or true only blobs that match the name exactly will be downloaded."
48-
removeDirStructureMsg = "If set the directory structure from the source won't be kept.\n\tNot applicable when the source is a HTTP endpoint."
48+
removeDirStructureMsg = "If set the directory structure from the source is not kept.\n\tNot applicable when the source is a HTTP endpoint."
4949
numberOfHandlersPerFileMsg = "Number of open handles for concurrent reads and writes per file."
5050
numberOfFilesInBatchMsg = "Maximum number of files in a transfer.\n\tIf the number is exceeded new transfers are created"
5151
)
@@ -111,7 +111,7 @@ func displayFilesToTransfer(sourcesInfo []pipeline.SourceInfo, numOfBatches int,
111111
totalSize = totalSize + source.Size
112112
}
113113

114-
if len(sourcesInfo) < 0 {
114+
if len(sourcesInfo) < 10 {
115115
fmt.Printf(summary)
116116
return
117117
}

0 commit comments

Comments
 (0)