https://github.com/stopsopa/dropbox-cli
Dropbox cli script mainly build to list and download big files directly to server
https://github.com/stopsopa/dropbox-cli
Last synced: 10 months ago
JSON representation
Dropbox cli script mainly build to list and download big files directly to server
- Host: GitHub
- URL: https://github.com/stopsopa/dropbox-cli
- Owner: stopsopa
- Created: 2019-03-20T19:20:14.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-03-21T10:59:45.000Z (almost 7 years ago)
- Last Synced: 2025-02-06T08:21:42.318Z (11 months ago)
- Language: JavaScript
- Homepage:
- Size: 1.04 MB
- Stars: 0
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
[](https://youtu.be/hS2GWJmXmJk)
# Usage
```bash
git clone https://github.com/stopsopa/dropbox-cli.git
cd dropbox-cli
yarn install
```
Now it's necessary to provide dropbox accessToken, there two ways to do this:
- through enviroment variable DROPBOX_NODE_SECRET
- or by creating tiny js module next THIS js script 'dropbox_node_secret.js' with content:
```javascript
module.exports = "arURX_..._o5QQaXWYf";
```
method one:
```bash
export DROPBOX_NODE_SECRET="arURX_..._o5QQaXWYf"
node dropbox.js list
```
method two:
```bash
echo 'module.exports = "arURX_..._o5QQaXWYf"' > dropbox_node_secret.js
node dropbox.js list
```
... and you're ready to go, just follow instructions on the screen
```bash
node dropbox.js
```