Common Usage¶
To get help on a specific dropme command enter:
$ dropme COMMAND --help
All dropme commands support several global arguments.
CLI tool for managing Dropbox environment.
dropme [--version] [-v | -q] [--log-file LOG_FILE] [--debug] [-t TOKEN]
-
--version
¶
show program’s version number and exit
-
-v
,
--verbose
¶
Increase verbosity of output. Can be repeated.
-
-q
,
--quiet
¶
Suppress output except warnings and errors.
-
--log-file
<LOG_FILE>
¶ Specify a file to log output. Disabled by default.
-
--debug
¶
Show tracebacks on errors.
-
-t
<TOKEN>
,
--token
<TOKEN>
¶ Dropbox access token.
The dropme client can run in two modes:
- as a standalone application:
$ dropme
(dropme) whoami
+--------------+------------------------+
| Field | Value |
+--------------+------------------------+
| user | John Doe |
| e_mail | j.doe@example.com |
| country | UA |
| account_type | basic |
+--------------+------------------------+
(dropme) ls -l
+------+---------+---------------------+-----------------------------+
| type | size | last_modified | name |
+------+---------+---------------------+-----------------------------+
| d | | | demo/ |
| d | | | foo/ |
| d | | | dummy/ |
| - | 1.11 MB | 2017-10-29 11:12:54 | Start work with Dropbox.pdf |
| - | 19.0 B | 2017-11-17 12:41:29 | bar.txt |
+------+---------+---------------------+-----------------------------+
- as a command with respective sub-command arguments:
$ dropme df
+-----------+-----------------+
| Field | Value |
+-----------+-----------------+
| allocated | 2.0 GB |
| used | 326.19 MB |
| available | 1.68 GB (84.1%) |
+-----------+-----------------+