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

Uploaded Source

Built Distribution

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

Uploaded Python 3

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