Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/bin/sh
- # DESCRIPTION: RUN DROPBOX FOR MULTIPLE ACCOUNTS ON ONE COMPUTER
- # By default, when you launch DropBox, it only lets you run one copy
- # of the application. This script shows how I launch a second copy
- # of Dropbox that uses a different account. This allows me to run
- # one copy of Dropbox for my capspire account and one for my personal
- # account. I won't explain how to save this as a shell script here,
- # but if you need help, let me know. (Ossie)
- #
- # Obviously, adapt for your needs.
- # Make a dropbox folder for the alternate account if not already done.
- mkdir ~/Documents/Dropbox-capspire
- # Change to that directory and reassign your HOME variable
- cd ~/Documents/Dropbox-capspire
- HOME=$HOME/Documents/Dropbox-capspire
- # Launch dropbox, sending it to the background and swallowing output
- # (Obviously, the script below assumes OSX, update for your OS)
- nohup /Applications/Dropbox.app/Contents/MacOS/Dropbox &
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement