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:
A minimalistic, libre, command line interface to the Dropbox API.
It depends on the following perl libraries (available through CPAN).
Just create a .mb.cnf file with the following syntax on the target folder (you may request it on the Dropbox developers site)
KEY = <API key> SECRET = <API secret>
Do a general pull, it'll output a URL to grant access to your account:
[~/dropbox]$ minibox pull Please Access URL and press Enter: https://www.dropbox.com/1/oauth/authorize?oauth_token=****************&oauth_callback= at minibox line 60.
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:
ACCESS_TOKEN = <displayed access token> ACCESS_SECRET = <displayed access secret>
Pull files and directories from Dropbox, if no one is specified it defaults to the Dropbox folder root.
minibox pull [<file/directory> [<file/directory> [...]]]
Push files and directories to Dropbox, if no one is specified it defaults to the Dropbox folder root.
minibox push [<file/directory> [<file/directory> [...]]]