Swarthmore College Department of Computer Science

using dropbox

dropbox logo

Follow the steps below if you want to use dropbox to share files.

  1. set up a Dropbox account at https://www.dropbox.com/register
  2. create an empty .dropbox-dist directory in your /scratch directory and link it back to your home directory (change youruname to your CS username):
    $ cd
    $ mkdir /scratch/youruname/.dropbox-dist 
    $ ln -s /scratch/youruname/.dropbox-dist .dropbox-dist
    $ ls -al .dropbox-dist
     .dropbox-dist -> /scratch/youruname/.dropbox-dist/
  3. run this command on our CS machines to start/install dropbox:
    $ dropbox start -i
    Starting Dropbox...
  4. follow along with the next few pop-up windows. Should look something like these:

    dropbox popup 3

    dropbox popup 4

    dropbox popup 5

    dropbox popup 7

  5. [Optional] Make link in ~/Dropbox to any directory you want to share:
    cd ~/Dropbox
    ln -s  ~/cs35/labs/05  05

    NOTE: if partners are sharing this directory, only one of you needs to make this link.

  6. [Optional] If you want, set up dropbox to autostart:
    $ dropbox autostart
    dropbox autostart [y/n]
      n  dropbox will not start automatically at login
      y  dropbox will start automatically at login 
    Note: May only work on current Ubuntu distributions.
    $ dropbox autostart y

    Note: if you don't do this, you can run "dropbox start" whenever you want to sync your directory

  7. [Optional] Tell dropbox who you want to share a folder with:
    • log in to dropbox account
    • under the "Files" tab, select "Share a folder"
    • follow the instructions to share folder with another dropbox user

  8. [Highly Recommended] Tell dropbox not to sync certain folders!

    If you have lots of non-CS files on Dropbox (like Pictures or Music), please tell Dropbox not to sync them to your CS machine. Otherwise you will quickly exceed your CS disk quota.

    Here's how to selectively exclude a folder from syncing to a CS machine. Run these commands in a terminal window on the CS machines.

    $ dropbox start
    $ dropbox exclude add Pictures
    $ dropbox exclude list

    This would tell dropbox not to sync your Pictures folder to the CS machines.