You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP

sc-dropbox-cli

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install
s

sc-dropbox-cli

SuperCool dropbox client

0.5.1
latest
75

Supply Chain Security

100

Vulnerability

92

Quality

81

Maintenance

100

License

Unpopular package

Quality

This package is not very popular.

Found 1 instance in 1 package

Dependencies have 7 high alerts.

Socket optimized override available

Version published
Weekly downloads
23
130%
Maintainers
1
Weekly downloads
 
Created
Issues
0

sc-dropbox-client

SuperCool dropbox client

Current functionality:

  • upload one file
  • upload a folder recursively
  • list files
  • share file
  • share folder
  • remove files
  • move file

Usage

Install

npm install -g sc-dropbox-cli

Run

  ____   ____      ____                  ____
 / ___| / ___|    |  _ \ _ __ ___  _ __ | __ )  _____  __
 \___ \| |   _____| | | | '__/ _ \| '_ \|  _ \ / _ \ \/ /
  ___) | |__|_____| |_| | | | (_) | |_) | |_) | (_) >  <
 |____/ \____|    |____/|_|  \___/| .__/|____/ \___/_/\_\
                                  |_|
Usage: sc-dropbox [options] [command]

SC DropBox CLI for uploading files to dropbox. Designed for use by CI-machines

Options:
  -V, --version                           output the version number
  --refreshToken [dropbox refresh token]  Set the refresh token, this will not expire unlike the accessToken (env: SC_DROPBOX_TOKEN)
  --appKey <appKey / clientId>            The appKey to use, must be set
  -h, --help                              display help for command

Commands:
  upload [options] <srcPath> <dstPath>    Upload a file
  list [options] [path]                   List files on dropbox account
  share [options] <path> [users]          Share a file with a list of users
  remove [options] <path>                 Will remove the file or directory given
  move <srcPath> <dstPath>                Will move the file to location (or id) given
  accountinfo                             Prints info on the current account
  help [command]                          display help for command

Create an access token

  • Go to Dropbox Developer-page
  • Click Create Apps
  • Scoped access
  • Full Dropbox
  • Name any (e.g. sc-cli)
  • Permissions -> check files.metadata.write and files.content.write
  • Find and click Generated access token

Development

Install dependencies:

npm install

Build

npm run build

Run locally

chmod u+x ./dist/sc-dropbox.js

Other info

This project uses the dropbox-content-hasher.js found here: https://github.com/dropbox/dropbox-api-content-hasher/blob/master/js-node/dropbox-content-hasher.js

FAQs

Package last updated on 14 Apr 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts