dropbox-index is a module that creates index.html for directory contents shared publicly on Dropbox. That way you can easily share whole content of the directory without the need to send separate links for all the shared files.
Check the Downloads section, install using pip / easy_install from PyPI, or checkout the source from Subversion repository using
svn checkout http://kosciak-misc.googlecode.com/svn/python/dropbox-index/trunk/ dropbox-index
Generated index.html pages were tested on Linux with Chrome 4.x, Firefox 3.0.x, and Opera 10.x
Installation:
Download, extract, and run:
python setup.py install
Usage:
Just run this Python script with directory as an argument (and add -R as an option if you want to include subdirectories)
Usage: dropbox-index [options] DIRECTORY
Options:
--version show program's version number and exit
-h, --help show this help message and exit
-R, --recursive Include subdirectories [default: False]
-T TEMPLATE, --template=TEMPLATE
Use HTML file as template
ATTENTION: Script will overwrite any existing index.html file(s)!
Example:
./dropbox-index.py -R -T template.html ~/Dropbox/Public/show
Script will generate index.html for directory (and subdirectories if run in recursive mode). Hidden files on Linux (filename starting with '.') are automatically omited.
If a directory contains a file with dir-info in it's name (dir-name, dir-name.txt, dir-name.html, - all these names are valid) the contents of the file will be used in the index.html as and additional information about directory content.
From version 0.4 you can click on the table's headings to sort files by name, size, or date (in ascending and descending order).
ATTENTION! Script will overwrite any existing index.html file without asking for permission!
Requirements:
- Python
Comments not found