5

Is there a way to start the Dropbox syncing client through SSH?

I already have the desktop version of Dropbox installed. However, I am using SSH to connect to the machine and if I restart the computer, Dropbox does not restart unless I log in to the Desktop.

Can I avoid the overhead required to log into the desktop and just start the Dropbox client from the command line?

Running open -a Dropbox.app fails with code: LSOpenURLsWithRole() failed for the application /Applications/Dropbox.app with error -10810.

I am aware of the Dropbox CLI, however it just seemed like it was silly to need to install additional software to start the client that is already installed. Perhaps it is the only way.

user1027169
  • 223
  • 3
  • 8
  • have you tried touching some files in the Dropbox folder? – igon Feb 12 '13 at 00:55
  • I've never used it, but perhaps this will help: http://www.dropboxwiki.com/Using_Dropbox_CLI – Jerry Seeger Feb 12 '13 at 01:55
  • 1
    So Dropbox is already installed via the regular GUI installer. If I connect to the computer via SSH without logging in through the GUI login window first, the Dropbox client appears to not start. If I add files or touch files in the Dropbox folder, they do not get synced. I would like to avoid installing the CLI if I can, just because the normal Dropbox client is already installed on there, and it is much easier to configure. – user1027169 Feb 12 '13 at 05:24
  • related: http://apple.stackexchange.com/a/102105/1174 – cregox Jun 17 '14 at 06:41

1 Answers1

2

One thought is the Dropbox CLI

Another - hopefully just so simple you hadn't thought to try it - would be to launch to GUI client from the command line: open -a "Dropbox.app". Syncing happens automatically on launch.