

You can usually tell if you have Dropbox integration with your file manager if, when you browse to your Dropbox folder in the file manager, green check marks appear over synced files.ĭepending on your Linux distribution, plugins for different desktop environments may be available in the package repositories. This will copy a link into your Clipboard. If you have Dropbox integration with your file manager, you can right click on a file and choose the "Share Dropbox Link" item in the "Dropbox" submenu. By default, Dropbox supports integration with the Nautilus file manager (aka GNOME Files) for the GNOME desktop environment. Just in case you just want to avoid going to the website, instead of needing a pure command-line solution, here's an alternative method.įor URLs to files outside the Public folder, it seems you have to use either the website or use a plugin that adds Dropbox-specific functionality to your file manager. However, this will not work for files outside your Public folder, it will simply give the error: Couldn't get public url: Unknown Errorįor more information about the dropbox command line interface, you can read the unofficial wiki.

More information, please see jbrock's answer detailing the use ofįor more information about the changes to the Public folder, pleaseĪssuming you have the Dropbox client installed and in your path, you can get a link to a file in your Public folder using the command: dropbox puburl įor example: dropbox puburl ~/Dropbox/Public/somepic.jpg You must now use the sharelink command instead of puburl. In order to obtain a link to a file in Dropbox from the command line, NOTE: Due to changes made to the Public folderīy Dropbox, the instructions below no longer work. This package will install both the Dropbox daemon (which automatically syncs files to a folder if you configure it to), and the dropbox command line utility. You can download the Dropbox client for Linux on Dropbox's Website.
