Utilisation de Dropbox en ligne de commande
De wikiGite
Source : https://www.dropbox.com/install?os=lnx
Vérification de la version à installer :
uname -a
If the uname output has an i686 at the end you need the 32Bit version and if it has x86_64 you want the 64Bit version.
Installation
The Dropbox daemon works fine on all 32-bit and 64-bit Linux servers. To install, run the following command in your Linux terminal.
mkdir /root/install cd /root/install
32-bit:
wget -O dropbox.tar.gz "http://www.dropbox.com/download/?plat=lnx.x86"
64-bit:
wget -O dropbox.tar.gz "http://www.dropbox.com/download/?plat=lnx.x86_64"
Décompression de l'archive :
tar -xzvf dropbox.tar.gz
Next, run the Dropbox daemon from the newly created .dropbox-dist folder.
~/.dropbox-dist/dropboxd
Run dropboxd on your server
~/.dropbox-dist/dropboxd
This client is not linked to any account... Please visit https://www.dropbox.com/cli_link?host_id=1c1497d78b543178b9349a7c1a8b087a&cl=en_US to link this machine.
Client successfully linked, Welcome!
If you're running Dropbox on your server for the first time, you'll be asked to copy and paste a link in a working browser to create a new account or add your server to an existing account. Once you do, your Dropbox folder will be created in your home directory. Download this CLI script to control Dropbox from the command line. For easy access, put a symlink to the script anywhere in your PATH.
Dropbox.py :
wget -O ~/.dropbox/dropbox.py "http://www.dropbox.com/download?dl=packages/dropbox.py" chmod 755 ~/.dropbox/dropbox.py
Status du client Dropbox :
~/.dropbox/dropbox.py status
Exclude / include