Backblaze-B2V4
view release on metacpan or search on metacpan
script/b2_client view on Meta::CPAN
# b2_client save_tokens APPLICATION_KEY_ID APPLICATION_KEY
Both arguments are required. Saves your B2 API key tokens to ~/.b2_tokens . Provision a key under 'App Keys' in the B2 Web UI. Choose carefully on the privileges you wish to give this app key, bearing in mind that the client can only complete the op...
# b2_client get BUCKET_NAME FILE_NAME [DESTINATION_DIRECTORY]
Downloads a file from B2. Required arguments are the name of the bucket containing the file and the name of the file in B2 (not the ID). Optional third argument is a destination directory, defaulting to the current working directory. Be sure you can ...
# b2_client put BUCKET_NAME PATH_TO_FILE
Upload a file to B2. Required arguments are the name of the destination B2 bucket and the path to the file to be uploaded. Best if the file has a standard extension (i.e. .txt, .png, .js, etc.)
# b2_client list_items [BUCKET_NAME] [START_FILE_NAME]
If no argument provided, lists the B2 buckets in your account.
Provide the bucket name as the first arg to list file id's and names that buclet.
Provide a starting file name as the second arg if your bucket has more than 10,000 files and you need to list them in groups.
# b2_client file_info FILE_ID
( run in 0.968 second using v1.01-cache-2.11-cpan-df04353d9ac )