Here's a command that I did up today for doing HTML photo albums using the Python program PyAlbum. It creates a directory called "WebGallery" in the current directory, and if a directory with the same name already exists the old one gets renamed first. It also asks you for the title to use in the gallery.
NOTE: Please make sure that you have DOpus set to use descript.ion files for file descriptions, these will get added to your gallery by PyAlbum if found. You'll need to update the paths to the Python, PyAlbum and temp directories if needed.
[quote]Delete ALL FORCE QUIET C:\Windows\Temp\DOpus_Gallery\In
Delete ALL FORCE QUIET C:\Windows\Temp\DOpus_Gallery
CreateFolder READAUTO=no C:\Windows\Temp\DOpus_Gallery\In NOUPDATESETTINGS
Copy TO C:\Windows\Temp\DOpus_Gallery\In
Rename FROM WebGallery TO WebGallery_old AUTORENAME TYPE=dirs
CreateFolder READAUTO=no WebGallery NOUPDATESETTINGS
sync:c:\Python\Python C:\Python\PyAlbum\PyAlbum.py --verbosity=3 -c C:\Python\PyAlbum\ouralbums.cfg --InputDir=C:\Windows\Temp\DOpus_Gallery\In --OutputDir=WebGallery --Title="{dlgstring|Please give a title for this web album}"[/quote]
Enjoy.
Damien