Getting Started with Backblaze B2 CLI



  • 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>


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