~/dropbox.py exclude add ~/Dropbox/photos.For example, if you don’t want your server to download the photos directory from Dropbox, you could run this command: This will let you specify files and directories that should not be synchronized on your server. You can also use it to turn off the automatic LAN sync feature, which tries to synchronize relevant files on your LAN:Īnother handy command is exclude. If all of your files are synchronized, you should see this message: If you want to check the status of your Dropbox, use the status command:
What is dropbox client how to#
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 ~
What is dropbox client 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.