lensdb is a maintenance tools for Hugins camera and lens database.
The information are used when adding image files to a project. Distortion and vignetting data can also manually loaded inside Hugin.
lensdb [--recursive] --populate BASEPATH
Fills the database with information from all pto files in BASEPATH. With the switch --recursive the search goes also into all subfolders.
Compresses the database by replacing all single entries with the average values.