@@ -24,17 +24,31 @@ This tool can be installed with:
24
24
b2 cancel-all-unfinished-large-files [-h] bucketName
25
25
b2 cancel-large-file [-h] fileId
26
26
b2 clear-account [-h]
27
- b2 copy-file-by-id [-h] [--metadataDirective {copy,replace}] [--contentType CONTENTTYPE] [--range RANGE] [--info INFO] [--destinationServerSideEncryption {SSE-B2}]
28
- [--destinationServerSideEncryptionAlgorithm {AES256}]
29
- sourceFileId destinationBucketName b2FileName
30
- b2 create-bucket [-h] [--bucketInfo BUCKETINFO] [--corsRules CORSRULES] [--lifecycleRules LIFECYCLERULES] [--defaultServerSideEncryption {SSE-B2,none}] [--defaultServerSideEncryptionAlgorithm {AES256}]
31
- bucketName bucketType
32
- b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX] [--duration DURATION] keyName capabilities
27
+ b2 copy-file-by-id [-h] [--metadataDirective {copy,replace}]
28
+ [--contentType CONTENTTYPE] [--range RANGE] [--info INFO]
29
+ [--destinationServerSideEncryption {SSE-B2,SSE-C}]
30
+ [--destinationServerSideEncryptionAlgorithm {AES256}]
31
+ [--sourceServerSideEncryption {SSE-C}]
32
+ [--sourceServerSideEncryptionAlgorithm {AES256}]
33
+ sourceFileId destinationBucketName b2FileName
34
+ b2 create-bucket [-h] [--bucketInfo BUCKETINFO] [--corsRules CORSRULES]
35
+ [--lifecycleRules LIFECYCLERULES]
36
+ [--defaultServerSideEncryption {SSE-B2,none}]
37
+ [--defaultServerSideEncryptionAlgorithm {AES256}]
38
+ bucketName bucketType
39
+ b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX]
40
+ [--duration DURATION] keyName capabilities
33
41
b2 delete-bucket [-h] bucketName
34
42
b2 delete-file-version [-h] [fileName] fileId
35
43
b2 delete-key [-h] applicationKeyId
36
- b2 download-file-by-id [-h] [--noProgress] fileId localFileName
37
- b2 download-file-by-name [-h] [--noProgress] bucketName b2FileName localFileName
44
+ b2 download-file-by-id [-h] [--noProgress]
45
+ [--sourceServerSideEncryption {SSE-C}]
46
+ [--sourceServerSideEncryptionAlgorithm {AES256}]
47
+ fileId localFileName
48
+ b2 download-file-by-name [-h] [--noProgress]
49
+ [--sourceServerSideEncryption {SSE-C}]
50
+ [--sourceServerSideEncryptionAlgorithm {AES256}]
51
+ bucketName b2FileName localFileName
38
52
b2 get-account-info [-h]
39
53
b2 get-bucket [-h] [--showSize] bucketName
40
54
b2 get-file-info [-h] fileId
@@ -48,23 +62,36 @@ This tool can be installed with:
48
62
b2 ls [-h] [--long] [--json] [--versions] [--recursive] bucketName [folderName]
49
63
b2 make-url [-h] fileId
50
64
b2 make-friendly-url [-h] bucketName fileName
51
- b2 sync [-h] [--noProgress] [--dryRun] [--allowEmptySource] [--excludeAllSymlinks] [--threads THREADS] [--compareVersions {none,modTime,size}] [--compareThreshold MILLIS] [--excludeRegex REGEX]
52
- [--includeRegex REGEX] [--excludeDirRegex REGEX] [--excludeIfModifiedAfter TIMESTAMP] [--destinationServerSideEncryption {SSE-B2}] [--destinationServerSideEncryptionAlgorithm {AES256}]
53
- [--skipNewer | --replaceNewer] [--delete | --keepDays DAYS]
54
- source destination
55
- b2 update-bucket [-h] [--bucketInfo BUCKETINFO] [--corsRules CORSRULES] [--lifecycleRules LIFECYCLERULES] [--defaultServerSideEncryption {SSE-B2,none}] [--defaultServerSideEncryptionAlgorithm {AES256}]
56
- bucketName bucketType
57
- b2 upload-file [-h] [--noProgress] [--quiet] [--contentType CONTENTTYPE] [--minPartSize MINPARTSIZE] [--sha1 SHA1] [--threads THREADS] [--info INFO] [--destinationServerSideEncryption {SSE-B2}]
58
- [--destinationServerSideEncryptionAlgorithm {AES256}]
59
- bucketName localFilePath b2FileName
65
+ b2 sync [-h] [--noProgress] [--dryRun] [--allowEmptySource]
66
+ [--excludeAllSymlinks] [--threads THREADS]
67
+ [--compareVersions {none,modTime,size}] [--compareThreshold MILLIS]
68
+ [--excludeRegex REGEX] [--includeRegex REGEX]
69
+ [--excludeDirRegex REGEX] [--excludeIfModifiedAfter TIMESTAMP]
70
+ [--destinationServerSideEncryption {SSE-B2,SSE-C}]
71
+ [--destinationServerSideEncryptionAlgorithm {AES256}]
72
+ [--sourceServerSideEncryption {SSE-C}]
73
+ [--sourceServerSideEncryptionAlgorithm {AES256}]
74
+ [--skipNewer | --replaceNewer] [--delete | --keepDays DAYS]
75
+ source destination
76
+ b2 update-bucket [-h] [--bucketInfo BUCKETINFO] [--corsRules CORSRULES]
77
+ [--lifecycleRules LIFECYCLERULES]
78
+ [--defaultServerSideEncryption {SSE-B2,none}]
79
+ [--defaultServerSideEncryptionAlgorithm {AES256}]
80
+ bucketName bucketType
81
+ b2 upload-file [-h] [--noProgress] [--quiet] [--contentType CONTENTTYPE]
82
+ [--minPartSize MINPARTSIZE] [--sha1 SHA1] [--threads THREADS]
83
+ [--info INFO]
84
+ [--destinationServerSideEncryption {SSE-B2,SSE-C}]
85
+ [--destinationServerSideEncryptionAlgorithm {AES256}]
86
+ bucketName localFilePath b2FileName
60
87
b2 version [-h]
61
88
62
89
63
- The environment variable B2_ACCOUNT_INFO specifies the sqlite
90
+ The environment variable ` B2_ACCOUNT_INFO ` specifies the sqlite
64
91
file to use for caching authentication information.
65
- The default file to use is: ~ /.b2_account_info
92
+ The default file to use is: ` ~/.b2_account_info `
66
93
67
- For more details on one command: b2 <command > --help
94
+ For more details on one command: ` b2 <command> --help `
68
95
69
96
When authorizing with application keys, this tool requires that the key
70
97
have the 'listBuckets' capability so that it can take the bucket names
@@ -76,7 +103,7 @@ that command.
76
103
## Parallelism and the --threads parameter
77
104
78
105
Users with high performance networks, or file sets with very small files, may benefit from
79
- increased parallelism. Experiment with using the --threads parameter with small values to
106
+ increased parallelism. Experiment with using the ` --threads ` parameter with small values to
80
107
determine if there are benefits.
81
108
82
109
Note that using multiple threads will usually be detrimental to the other users on your network.
0 commit comments