Skip to main content

A command line tool for raspberry py

Project description

dropbox-pi-cli

A dropbox command line tool

Before start you need to setup the envar:

export DROPBOX_ACCESS_TOKEN='YOUR AUTH TOKEN HERE'

Install

after clone cd to project folder and execute

make -B build
make install

Uninstall

cd to project folder and execute

make uninstall

Usage

The command line is only able to upload and download from/to dropbox app folder.

Download

dropbox-pi file-download [OPTIONS]

Options:
  --remote-path TEXT  The path of the file to download.
  --local_path TEXT   The path of the file on the local moachine.
  --help              Show this message and exit.

Upoload

dropbox-pi file-upload [OPTIONS]

Options:
  --remote_path TEXT      Path in the user's Dropbox to save the file
  --local-path TEXT       Path in the user's local to save the file
  --mode TEXT             Selects what to do if the file already exists. The
                          default for this union is add

  --autorename TEXT       If there's a conflict, as determined by mode, have
                          the Dropbox server try to autorename the file to
                          avoid conflict. The default for this field is False.

  --mute TEXT             Normally, users are made aware of any file
                          modifications in their Dropbox account via
                          notifications in the client software. If true, this
                          tells the clients that this modification shouldn't
                          result in a user notification. The default for this
                          field is False

  --strict-conflict TEXT  Be more strict about how each WriteMode detects
                          conflict. For example, always return a conflict
                          error when mode = WriteMode.update and the given
                          'rev' doesn't match the existing file's 'rev', even
                          if the existing file has been deleted. This also
                          forces a conflict even when the target path refers
                          to a file with identical contents. The default for
                          this field is False

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

dropbox-pi-cli-0.0.5.tar.gz (3.1 kB view details)

Uploaded Source

Built Distribution

dropbox_pi_cli-0.0.5-py3-none-any.whl (16.2 kB view details)

Uploaded Python 3

File details

Details for the file dropbox-pi-cli-0.0.5.tar.gz.

File metadata

  • Download URL: dropbox-pi-cli-0.0.5.tar.gz
  • Upload date:
  • Size: 3.1 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2.post20210112 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for dropbox-pi-cli-0.0.5.tar.gz
Algorithm Hash digest
SHA256 bf582e10e3e12033119dc8a77e74768b5fea34fdc02c149fae7f2337afc30372
MD5 5da3f25681c22da705b44d9a441f5a38
BLAKE2b-256 63177ab2ddc52dc23a2ac931ca9ed77c8a74f631131463786094fe12ec7de376

See more details on using hashes here.

File details

Details for the file dropbox_pi_cli-0.0.5-py3-none-any.whl.

File metadata

  • Download URL: dropbox_pi_cli-0.0.5-py3-none-any.whl
  • Upload date:
  • Size: 16.2 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? No
  • Uploaded via: twine/3.3.0 pkginfo/1.6.1 requests/2.25.1 setuptools/51.1.2.post20210112 requests-toolbelt/0.9.1 tqdm/4.56.0 CPython/3.7.9

File hashes

Hashes for dropbox_pi_cli-0.0.5-py3-none-any.whl
Algorithm Hash digest
SHA256 90ff1cba10b3f787b1722271671b7bce95cd004d5d32ffeb2d33a49f76231ccb
MD5 f1b55b14159f3e1474a8e22d6b12fd62
BLAKE2b-256 5c53e9ce3808a35d252e013b04fa25a2654c153ba453fa02f2c8f3cef13281e0

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