table of contents
other versions
B2(1) | User Commands | B2(1) |
NAME¶
b2 - B2 Command Line Tool
DESCRIPTION¶
This program provides command-line access to the B2 service.
Usages:
- b2 authorize-account [<accountId>] [<applicationKey>]
b2 cancel-all-unfinished-large-files <bucketName>
b2 cancel-large-file <fileId>
b2 clear-account
b2 create-bucket [--bucketInfo <json>] [--lifecycleRules <json>] <bucketName> [allPublic | allPrivate]
b2 delete-bucket <bucketName>
b2 delete-file-version [<fileName>] <fileId>
b2 download-file-by-id [--noProgress] <fileId> <localFileName>
b2 download-file-by-name [--noProgress] <bucketName> <fileName> <localFileName>
b2 get-account-info
b2 get-bucket <bucketName>
b2 get-download-auth [--prefix <fileNamePrefix>] [--duration <durationInSeconds>] <bucketName>
b2 get-file-info <fileId>
b2 help [commandName]
b2 hide-file <bucketName> <fileName>
b2 list-buckets
b2 list-file-names <bucketName> [<startFileName>] [<maxToShow>]
b2 list-file-versions <bucketName> [<startFileName>] [<startFileId>] [<maxToShow>]
b2 list-parts <largeFileId>
b2 list-unfinished-large-files <bucketName>
b2 ls [--long] [--versions] <bucketName> [<folderName>]
b2 make-url <fileId>
b2 sync [--delete] [--keepDays N] [--skipNewer] [--replaceNewer] \
[--compareVersions <option>] [--threads N] [--noProgress] \
[--excludeRegex <regex> [--includeRegex <regex>]] [--dryRun] \
<source> <destination>
b2 update-bucket [--bucketInfo <json>] [--lifecycleRules <json>] <bucketName> [allPublic | allPrivate]
b2 upload-file [--sha1 <sha1sum>] [--contentType <contentType>] \
[--info <key>=<value>]* [--minPartSize N] \
[--noProgress] [--threads N] <bucketName> <localFilePath> <b2FileName>
For more details on one command: b2 help <command>
SEE ALSO¶
The full documentation for b2 is maintained as a Texinfo manual. If the info and b2 programs are properly installed at your site, the command
- info b2
should give you access to the complete manual.
COPYRIGHT¶
Copyright 2015 - 2017, Backblaze, Inc. <support@backblaze.com>
AUTHOR¶
This manual page was generated by help2man 1.47.4 and amended by Ondrej Koblizek <koblizeko@gmail.com>.
November 2017 | b2 |