Sync files to Backblaze B2 with filtering and multithreading.
-
Clone the Repository
git clone https://github.com/Illia-the-coder/b2syncAPI.git cd b2syncAPI
-
Install Dependencies
pip3 install -r requirements.txt
Set your B2 credentials:
export B2_KEY_ID='your_b2_key_id'
export B2_APP_KEY='your_b2_app_key'
Run the synchronization script:
python3 src/sync_b2.py /path/to/local/directory b2://your-bucket --max-age <number>d --min-size <number>MB --threads <number>