Skip to content

Instantly share code, notes, and snippets.

@codeFareith
Last active March 16, 2023 12:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save codeFareith/0cc7a0e838d19e0b0cfe to your computer and use it in GitHub Desktop.
Save codeFareith/0cc7a0e838d19e0b0cfe to your computer and use it in GitHub Desktop.
Mac OS X Tipps and Tricks #1: Using multiple Dropboxes

Mac OS X - From A Developers View

####1: Using multiple Dropboxes tested on Mac OS X 10.9.4 Mavericks

Setup A Second Dropbox

After installing the regular Dropbox App, launch /Applications/Utilities/Terminal.app running a bash-Shell and paste the following command:

HOME=$HOME/.dropbox-old /Applications/Dropbox.app/Contents/MacOS/Dropbox &

Create an App Bundle using the following command:

mkdir -p /Applications/DropboxPrivate.app/Contents/MacOS/

Write this in an text editor and save it as Info.plist in /Applications/DropboxPrivate.app/Contents/:

<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
  <key>CFBundlePackageType</key>
  <string>APPL</string>
  <key>CFBundleExecutable</key>
  <string>DropboxPrivate</string>
  <key>LSUIElement</key>
  <string>1</string>
</dict>
</plist>

In another text editor, insert this and save as DropboxPrivate in /Applications/DropboxPrivate.app/Contents/MacOS/:

#!/bin/bash
HOME=/Users/$USER/.dropbox-old /Applications/Dropbox.app/Contents/MacOS/Dropbox

Make your script executable, by typing the following command:

chmod 755 /Applications/DropboxPrivate.app/Contents/MacOS/DropboxPrivate

Now, you can add it to your login items in the System Preferences->Accounts.

@kapooostin
Copy link

AFAIU, it'll stop working after the latest update with moving DB folder to ~/Library and removing the ability to change DB folder location. Has anybody tried it yet?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment