B2_Command_Line_Tool
B2_Command_Line_Tool copied to clipboard
The command-line tool that gives easy access to all of the capabilities of B2 Cloud Storage
Attempting to download a file but specifying a local filename in a dir that doesn't exist causes throws an unfriendly error. Eg.. ```sh b2 download-file-by-id $FILE_ID "this-dir-does-not-exist/stuff.zip" ``` Throws.. ```...
When a download is active (eg. after running `b2 download-file-by-id`) it cannot be interrupted with a `SIGINT` (Ctrl+c) or EOF (Ctrl+c). Both cause the progress bar to be printed on...
There are some python exceptions that are thrown literally to the CLI output, and this made me question whether or not my local python was working correctly. Can you please...
Passing a file version for a snapshot to `delete-file-version` results in: ~~~ ERROR: Unknown error: 400 bad_request Allow snapshot header must be specified when deleting a file from a snapshot...
``` File "/usr/lib/python2.7/site-packages/b2/bucket.py", line 374, in upload validate_b2_file_name(file_name) File "/usr/lib/python2.7/site-packages/b2/utils.py", line 168, in validate_b2_file_name raise ValueError("file names segments (between '/') can be at most 250 utf-8 bytes") ValueError: file names...
Please add en exclude option (--exclude) that can be used to exclude a directory or file without using regex (at least from the user's perspective). This would be most useful...
`b2 help update-bucket` and `b2 update-bucket` does not include examples of correct json syntax which can be a little finicky for a user to guess at without an example. Here's...
(...) Installed /usr/lib/python2.7/site-packages/chardet-3.0.4-py2.7.egg Searching for funcsigs Reading https://pypi.python.org/simple/funcsigs/ Best match: funcsigs 1.0.2 Downloading https://pypi.python.org/packages/94/4a/db842e7a0545de1cdb0439bb80e6e42dfe82aaeaadd4072f2263a4fbed23/funcsigs-1.0.2.tar.gz#md5=7e583285b1fb8a76305d6d68f4ccc14e Processing funcsigs-1.0.2.tar.gz Writing /tmp/easy_install-BwQ8X8/funcsigs-1.0.2/setup.cfg Running funcsigs-1.0.2/setup.py -q bdist_egg --dist-dir /tmp/easy_install-BwQ8X8/funcsigs-1.0.2/egg-dist-tmp-TvMeor error: Installed distribution setuptools 0.9.8 conflicts...
A basic unix way of programs interacting with programs is with stdin and stdout using pipe (|). I have a use case where I want to send a backup of...
I'm using the command line to sync a lot of small files to B2. A typical sync is 600,000 files and a couple hundred Gb in size. When performing syncs...