We're making changes to the Community, so you may have received some notifications - thanks for your patience and welcome back. Learn more here.

Forum Discussion

Vmm's avatar
Vmm
Explorer | Level 4
2 years ago

Dropbox use from CLI on Linux.

Hallo Community. I have a need to use dropbox from CLI on Linux and Windows. Is it possible? How?

Also from other OS?

 

thanks for your help!

 

vmm

  • It should works on most (if not all) Linux distributions, in spite official support is provided for Ubuntu and Fedora only. So, Yes, It works on Ubuntu (I work on Ubuntu right now "together" with the Dropbox application) and it's officially supported too (despite of not all features are fully supported on Linux generally - fully supported are Mac and Windows only, unfortunately). Also take in mind that ARM are supported on Mac only - nether Linux nor Windows ARMs are supported if you're planning to use such.

     

    Add: Isn't funny? The less supported platform from Dropbox side - Linux - the only that The same Dropbox side have CLI for. 😀

  • Hi Vmm,

    It's supported on Linux only. If you have installed official deb or rpm package, just type "dropbox help" to see how you can use it.

    Hope this helps.

    • Vmm's avatar
      Vmm
      Explorer | Level 4
      Also on Ubuntu I suppose
      Tx so much
      • It should works on most (if not all) Linux distributions, in spite official support is provided for Ubuntu and Fedora only. So, Yes, It works on Ubuntu (I work on Ubuntu right now "together" with the Dropbox application) and it's officially supported too (despite of not all features are fully supported on Linux generally - fully supported are Mac and Windows only, unfortunately). Also take in mind that ARM are supported on Mac only - nether Linux nor Windows ARMs are supported if you're planning to use such.

         

        Add: Isn't funny? The less supported platform from Dropbox side - Linux - the only that The same Dropbox side have CLI for. 😀

    • Vmm's avatar
      Vmm
      Explorer | Level 4
      Also on Ubuntu I suppose
      Tx so much
  • ethancargio's avatar
    ethancargio
    Explorer | Level 3

    Yes, it is indeed possible to use Dropbox from the command line interface (CLI) on Linux, Windows, and other operating systems. Dropbox provides a command-line tool called "dropbox-util" that allows you to interact with your Dropbox account and perform various operations.

    To use Dropbox from the CLI, follow these steps:

    1. Install the Dropbox command-line tool:

      • For Linux: Visit the Dropbox website and download the appropriate package for your distribution. Install it using the package manager or by running the installation script provided.
      • For Windows: Download the Dropbox command-line tool from the Dropbox website and install it by following the setup instructions.
    2. After installation, open a terminal or command prompt and navigate to the location where the Dropbox command-line tool is installed.

    3. Run the necessary commands to interact with Dropbox. Some common commands include:

      • dropbox status: Check the current status of Dropbox synchronization.
      • dropbox start: Start the Dropbox service.
      • dropbox stop: Stop the Dropbox service.
      • dropbox excludes adding Exclude a specific directory from Dropbox synchronization.
      • dropbox exclude removing Remove a directory from the excluded list.

    These commands should give you a good starting point to manage your Dropbox account from the CLI. Remember to consult the documentation or help resources provided by Dropbox for more details on specific commands and their usage.

    Please note that the command-line tool may have slight variations depending on the operating system you are using, so make sure to refer to the official Dropbox documentation for the most accurate and up-to-date information.

About Apps and Installations

Have a question about a Dropbox app or installation? Reach out to the Dropbox Community and get solutions, help, and advice from members.

Need more support

If you need more help you can view your support options (expected response time for an email or ticket is 24 hours), or contact us on X or Facebook.

For more info on available support options for your Dropbox plan, see this article.

If you found the answer to your question in this Community thread, please 'like' the post to say thanks and to let us know it was useful!