Examples (8)
Access your account
b2 authorize_account key_idList the existing buckets in your account
b2 list_bucketsCreate a bucket, provide the bucket name, and access type (e.g. allPublic or allPrivate)
b2 create_bucket bucket_name allPublic|allPrivateUpload a file. Choose a file, bucket, and a folder
b2 upload_file bucket_name path/to/file folder_nameUpload a source directory to a Backblaze B2 bucket destination
Copy a file from one bucket to another bucket
b2 copy-file-by-id path/to/source_file_id destination_bucket_name path/to/b2_filemade by @shridhargupta | data from tldr-pages