

Remember that running the CLI without any options with print out how to use it. The next subsection will cover how use the Dropbox CLI to do a few basic things. Now you can run the Dropbox CLI from your home directory with this command:

This is necessary because the Dropbox CLI expects ~/.dropbox-dist to contain your Dropbox installation: dropbox-dist that points to your Dropbox installation path. Then, in your home directory, make a symbolic link named. Use this command to make it executable: chmod +x ~/dropbox.py Now you will have a file called dropbox.py, the Dropbox CLI, in your home directory. To download it to your home directory, run these commands: cd ~
#Call dropbox support install
Install Dropbox CLIĭropbox also includes a command line interface (CLI) that you may want to install so that you can configure your Dropbox client. Now the Dropbox client is running as a service and will start automatically when your server boots. Then run this command to configure the service to start when your server boots: Now Dropbox is ready to be started as a service. Reload the Systemd daemon, so that you can use the unit file: Save and exit the file by pressing Ctrl-x, then y, then Enter. etc/sysconfig/dropbox DROPBOX_USERS=" sammy" For example, if your username is “sammy”, it should look like this: Create the file and open it for editing with this command:Īdd a line that specifies that DROPBOX_USERS is equal to your system username. The script expects the /etc/systemd/dropbox file to contain a list of system users that will run Dropbox. sudo chmod +x /etc/systemd/system/rvice /etc/init.d/dropbox.Next, make the scripts executable with this command: sudo curl -o /etc/systemd/system/rvice.To save yourself the trouble, you can use this command to download them:

To start Dropbox as a service, you’ll need to create an init script and a Systemd unit file. The next step is to set up some scripts so that Dropbox will run as a service, so that you don’t need to be logged in for the client to keep running. Press Ctrl-C to quit running Dropbox for now. This is where it will store your synchronized Dropbox files. You should now have a directory in your home directory called “Dropbox”. Now your Dropbox account is linked with the client. Link success output:This computer is now linked to Dropbox.
