kphototemplate - creates a template index.xml from a fully loaded one
kphototemplate -c index.xml -C index-new.xml
kphototemplate is designed to create a new and empty index.xml file from an original one that is full of images. It very simply reads in the original file (specified with the -c switch), removes the images from it but leaves all the category names and information, and then writes back out a new copy (specified with the -C switch).
This is useful when you want to categorize a bunch of new images away from your master image set, but still want the existing category names, etc, for quick assignment. When you get the new images and new index database back home, use kphotomerge to merge the new image database back into the original.
Warning: when kphotoalbum starts up with the new index database file it'll complain about it containing on images. You can safely ignore this warning.
The main KPhotoAlbum DB index file from which the categories, etc will be copied.
The KPhotoAlbum DB index file to write back out.
Verbose mode
Help output.
Wes Hardaker <hardaker@users.sourceforge.net>
Copyright (c) 2009 Wes Hardaker. All rights reserved. This program is free software; you can redistribute it and/or modify it under the same terms as Perl itself.