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

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-0.1.1.tar.gz (9.8 kB view details)

Uploaded Source

File details

Details for the file bsync-0.1.1.tar.gz.

File metadata

  • Download URL: bsync-0.1.1.tar.gz
  • Upload date:
  • Size: 9.8 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

Hashes for bsync-0.1.1.tar.gz
Algorithm Hash digest
SHA256 f8b3403b13459408c43edf78c8081fbe34370125909b58b6b2eef305a7f08e20
MD5 f475618094e793548c5ce20dd3b190b8
BLAKE2b-256 bd56a8b467e521bdcf9d8409ea91a948750e67ad1268d286fecd7a1b22bdbabc

See more details on using hashes here.

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