A command line interface to the Dropbox API
After using the perl WebService::Dropbox library for some time to manage (because of external factors) this service without having to resort to privative software, I guess someone may find it usefull, so here it is:
Minibox
A minimalistic, libre, command line interface to the Dropbox API.
Requisites
It depends on the following perl libraries (available through CPAN).
Setup
Just create a .mb.cnf file with the following syntax on the target folder (you may request it on the Dropbox developers site)
1 2 |
|
Do a general pull, it'll output a URL to grant access to your account:
1 2 |
|
Access it with a browser, grant it access and press enter on the minibox terminal, an access token and secret with be displayed, copy it to the .mb.cnf file in order to not having to repeat this process:
1 2 |
|
I/O
Pull files and directories from Dropbox, if no one is specified it defaults to the Dropbox folder root.
1 |
|
Push files and directories to Dropbox, if no one is specified it defaults to the Dropbox folder root.
1 |
|