This script is intended to automate the task of publishing and shareing photos in directories of your harddrive. It links all files that start with a prefix (standard '1_') to a web server path (default /var/www/album) and runs the script album (http://marginalhacks.com/Hacks/album/) in the webserver path to create a Web Album of all the pictures in the whole directory tree. It will therefore create subalbums for every directory level. It also autoratates all images based on their orientation exif information (if available). To use it rename all files in your picture directory that you want to be web-published with the prefix and start the script (in a terminal) in the root of your picture directory.