If you’re looking for alternative to the Dropbox client application, you should definitely try what Maestral has to offer to you.
The official Dropbox app isn’t liked by all. Many feel that it is too bloated, offering unnecessary functionality or limitations in a package that only seems to increase in size.
Maestral is a lightweight open source Dropbox client for Linux and macOS written in Python. It main goal is to provide a client for platforms and file systems that are no longer directly supported by Dropbox.
Maestral provides powerful command line tools, supports gitignore patterns to exclude local files from syncing and allows syncing multiple Dropbox accounts. It uses the public Dropbox API which, unlike the official client, does not support transfer only those parts of a file that are modified (“binary diff”). However, it will avoid uploading or downloading a file if it already exists with the same content locally or in the cloud.
Currently, Maestral does not support Dropbox Paper, the management of Dropbox teams and the management of shared folder settings. If you need any of this functionality, you can use the Dropbox website or the official client.
Maestral comes with all most used and useful features that you can also find in the official Dropbox client.
- Can run in GUI or command line modes.
- Pause / resume syncing.
- Selective sync.
- Supports syncing multiple Dropbox accounts by running multiple instances in parallel.
- Choose your Dropbox folder location.
- System notifications on file changes.
- Shows used / total Dropbox space.
- Keyring integration.
- Does not count towards the three devices limit for basic Dropbox accounts.
How to Install Maestral on Linux
Maestral app bundle is currently provided only for macOS.
On Linux, the Maestral instructions recommend installing the app from PyPI using pip. You must have Python 3.6 or higher installed on your system.
sudo python3 -m pip install --upgrade maestral[gui]
Since the GUI is a system tray / menu bar app, it does require a desktop environment with a system tray.
The first time you run Maestral, either with a GUI or from the command line, it will guide you through the process of linking your Dropbox account.
Maestral Command Line
The Maestral command line interface provides access to a wide number of features, including some that are not available from the GUI.
Autostart on Login
File syncing should happen in the background and should require as little user interaction as possible. Therefore, both the GUI and the daemon provide options to start on login.
The settings panel provides a checkbox to start the GUI on login. The CLI includes an equivalent command which will create the appropriate systemd (Linux) or launchd (macOS) entry to start the Maestral daemon with the selected config on login.
maestral autostart --yes
Check Maestral Status
Show the status of the daemon.
Account: [email protected] (Basic) Usage: 0.0% of 5.6 GB used Status: Up to date Sync errors: 0
Start & Stop the Sync Daemon
Start the sync daemon.
Stop the sync daemon.
Pause & Resume the Sync Daemon
Get the current log level.
maestral log level
To set the log level you can choose from one of the four available options: DEBUG, INFO, WARNING, and ERROR. Changes will take effect immediately.
maestral log level DEBUG
Print logs to the console.
maestral log show
Clear the log files.
maestral log clear