@@ -24,31 +24,14 @@ 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}]
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
27
+ b2 copy-file-by-id [-h] [--metadataDirective {copy,replace}] [--contentType CONTENTTYPE] [--range RANGE] [--info INFO] [--destinationServerSideEncryption {SSE-B2,SSE-C}] [--destinationServerSideEncryptionAlgorithm {AES256}] [--sourceServerSideEncryption {SSE-C}] [--sourceServerSideEncryptionAlgorithm {AES256}] [--fileRetentionMode {compliance,governance}] [--retainUntil TIMESTAMP] [--legalHold {on,off}] sourceFileId destinationBucketName b2FileName
28
+ b2 create-bucket [-h] [--bucketInfo BUCKETINFO] [--corsRules CORSRULES] [--lifecycleRules LIFECYCLERULES] [--fileLockEnabled] [--defaultServerSideEncryption {SSE-B2,none}] [--defaultServerSideEncryptionAlgorithm {AES256}] bucketName bucketType
29
+ b2 create-key [-h] [--bucket BUCKET] [--namePrefix NAMEPREFIX] [--duration DURATION] keyName capabilities
41
30
b2 delete-bucket [-h] bucketName
42
31
b2 delete-file-version [-h] [fileName] fileId
43
32
b2 delete-key [-h] applicationKeyId
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
33
+ b2 download-file-by-id [-h] [--noProgress] [--sourceServerSideEncryption {SSE-C}] [--sourceServerSideEncryptionAlgorithm {AES256}] fileId localFileName
34
+ b2 download-file-by-name [-h] [--noProgress] [--sourceServerSideEncryption {SSE-C}] [--sourceServerSideEncryptionAlgorithm {AES256}] bucketName b2FileName localFileName
52
35
b2 get-account-info [-h]
53
36
b2 get-bucket [-h] [--showSize] bucketName
54
37
b2 get-file-info [-h] fileId
@@ -62,28 +45,11 @@ This tool can be installed with:
62
45
b2 ls [-h] [--long] [--json] [--versions] [--recursive] bucketName [folderName]
63
46
b2 make-url [-h] fileId
64
47
b2 make-friendly-url [-h] bucketName fileName
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
48
+ b2 sync [-h] [--noProgress] [--dryRun] [--allowEmptySource] [--excludeAllSymlinks] [--threads THREADS] [--compareVersions {none,modTime,size}] [--compareThreshold MILLIS] [--excludeRegex REGEX] [--includeRegex REGEX] [--excludeDirRegex REGEX] [--excludeIfModifiedAfter TIMESTAMP] [--destinationServerSideEncryption {SSE-B2,SSE-C}] [--destinationServerSideEncryptionAlgorithm {AES256}] [--sourceServerSideEncryption {SSE-C}] [--sourceServerSideEncryptionAlgorithm {AES256}] [--skipNewer | --replaceNewer] [--delete | --keepDays DAYS] source destination
49
+ b2 update-bucket [-h] [--bucketInfo BUCKETINFO] [--corsRules CORSRULES] [--lifecycleRules LIFECYCLERULES] [--defaultRetentionMode {compliance,governance,none}] [--defaultRetentionPeriod period] [--defaultServerSideEncryption {SSE-B2,none}] [--defaultServerSideEncryptionAlgorithm {AES256}] bucketName bucketType
50
+ b2 upload-file [-h] [--noProgress] [--quiet] [--contentType CONTENTTYPE] [--minPartSize MINPARTSIZE] [--sha1 SHA1] [--threads THREADS] [--info INFO] [--destinationServerSideEncryption {SSE-B2,SSE-C}] [--destinationServerSideEncryptionAlgorithm {AES256}] [--legalHold {on,off}] [--fileRetentionMode {compliance,governance}] [--retainUntil TIMESTAMP] bucketName localFilePath b2FileName
51
+ b2 update-file-legal-hold [-h] [fileName] fileId {on,off}
52
+ b2 update-file-retention [-h] [--retainUntil TIMESTAMP] [--bypassGovernance] [fileName] fileId {governance,compliance,none}
87
53
b2 version [-h]
88
54
89
55
0 commit comments