How-to: Update Dropbox Website Indices with pyndexer

pyndexer is a python script to automatically index all of your public dropbox folders and place the index files in your dropbox. Like This.  This allows you to create a web-based file directory for users to view your dropbox files instead of having to know the exact URL of a file.

First off, this how-to only works on Mac OS X or Linux. There’s a way to do this with Windows, but I’m just lazy and don’t want to learn it.

  1. Download pyndexer.py from the developer (from the terminal)

    mkdir ~/Documents/pyndexer
    cd ~/Documents/pyndexer
    curl -O “http://dl.getdropbox.com/u/552/pyndexer/pyndexer.py”
    chmod +x pyndexer.py

  2. Remove all ‘index.html’ files from your dropbox (from the terminal)

    cd ~/Dropbox/
    find . -name ‘index.html’ -type f -delete

  3. Run pyndexer.py (from the terminal)

    cd ~/Documents/pyndexer/
    python pyndexer.py

  4. Enjoy your newly created public website.

Leave a Reply

There aren't any comments at the moment, be the first to start the discussion!