Skip to content

Instantly share code, notes, and snippets.

@yonixw
Created June 21, 2019 14:56
Show Gist options
  • Save yonixw/8e3797480cf449a42fcda6531a56897f to your computer and use it in GitHub Desktop.
Save yonixw/8e3797480cf449a42fcda6531a56897f to your computer and use it in GitHub Desktop.
Uploading folder to BlackBlaze B2 using cli
SET B2CMD=b2 sync --threads 20 --compareVersions "size"
SET B2BUCKET=2tb-disk
b2 list-unfinished-large-files %B2BUCKET%
REM b2 cancel-all-unfinished-large-files 2tb-disk
echo Start encrypted
%B2CMD% E:\encrypted b2://%B2BUCKET%/encrypted
echo Start WindowsImageBackup
%B2CMD% E:\WindowsImageBackup b2://%B2BUCKET%/WindowsImageBackup
echo Start share
%B2CMD% E:\share b2://%B2BUCKET%/share
echo Start zip-backups
%B2CMD% E:\zip-backups b2://%B2BUCKET%/zip-backups
echo Done all!
@yonixw
Copy link
Author

yonixw commented Jun 21, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment