Skip to main content

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

https://github.com/box/developer.box.com/blob/main/content/guides/tooling/cli/quick-start/1-create-jwt-app.md

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 hashes)

Uploaded Source

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page