ML
    • Recent
    • Categories
    • Tags
    • Popular
    • Users
    • Groups
    • Register
    • Login

    Getting Started with Backblaze B2 CLI

    IT Discussion
    backblaze backblaze b2
    1
    2
    1.3k
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • A
      Alex Sage
      last edited by scottalanmiller

      First, Install the B2 Command-Line Tool

      git clone https://github.com/Backblaze/B2_Command_Line_Tool.git
      cd B2_Command_Line_Tool
      python setup.py install
      

      Now authorize your account

      b2 authorize_account
      Using https://api.backblaze.com
      Backblaze account ID: 
      Backblaze application key:
      

      Now upload a file

      b2 upload_file <bucketName> <localFilePath> <b2FileName>
      
      1 Reply Last reply Reply Quote 1
      • A
        Alex Sage
        last edited by

        They have a sync command as well, that could be very handy 🙂

        1 Reply Last reply Reply Quote 1
        • 1 / 1
        • First post
          Last post