Sync files from your computer to Box.com using the Box API. Think rsync for Box.com
Project description
bsync
Sync files from your computer to Box.com using the Box API
Think rsync for Box
Can handle large files with chunked upload support
Right now, this only syncs your folder to Box and not Box to your folder
Install
pip install bsync
Configuration
You need to create a Box app with access to writing files/folders. The app must have JWT server side auth enabled. The JSON settings file with your keys will be required to run this. For help, see this Box developer guide
Usage
Usage: bsync [OPTIONS] SOURCE_FOLDER[:PATHS] BOX_FOLDER_ID
Syncs the contents of local folder to your Box account
SOURCE_FOLDER is the path of an existing local folder. Additional, optional
PATHS can be added as a glob expression after the folder.
BOX_FOLDER_ID is the ID for the folder in Box where you want the files sent
Example:
bsync -s 12345.json -l DEBUG images:*.jpg 123456789
Options:
-u, --box-user TEXT User account name on Box.com. Defaults to $USER
-s, --settings FILE
-i, --ipdb Drop into ipdb shell on error
-l, --log-level [critical|fatal|error|warn|warning|info|debug]
Log level
--log-file FILE Log file
-o, --output FILE File to write created items as CSV report
--help Show this message and exit.
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
bsync-1.0.0.tar.gz
(10.4 kB
view details)
File details
Details for the file bsync-1.0.0.tar.gz
.
File metadata
- Download URL: bsync-1.0.0.tar.gz
- Upload date:
- Size: 10.4 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: twine/3.7.1 importlib_metadata/4.10.1 pkginfo/1.8.2 requests/2.26.0 requests-toolbelt/0.9.1 tqdm/4.62.3 CPython/3.9.6
File hashes
Algorithm | Hash digest | |
---|---|---|
SHA256 | e22ea5ec8880701eb030f42893771550e7776ebe2aeb12f0275b6a6b95dee9c4 |
|
MD5 | 43acc370a4a03612002b875e27760abb |
|
BLAKE2b-256 | 6674ef5e6b373c351f4ce84c778971143321cc109e990afe76d0a2ed0856cb95 |