statistics about your photographic habits
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
René Wagner 1956e53b0d version 0.6 / 2020-08-15 1 year ago
.build.yml add new perl dep 1 year ago
.gitignore version 0.6 / 2020-08-15 1 year ago
LICENSE setup build and packaging 2 years ago
PKGBUILD update PKGBUILD for auto-update version 2 years ago minor README tweaks 1 year ago version 0.6 / 2020-08-15 1 year ago

Simple Photo Stats

This project is about a small tool providing some stats of your photography.

It is mainly a selfcontained SQlite database that stores the data which is extracted from the exif data of your images using exiftool and provides some predefined statistics about the data which can be queried with the tool itself.


The famous exiftool needs to be installed on your system.

There are prebuilt binarys (currently x86_64 linux only) and packages for Arch Linux and derivatives available for every ref.

using bare scripts

Simply clone the repo or manually download the scripts from

To run the script, open a shell and invoke perl, on most systems it should be sufficient to just invoke (after you granted execute-permissions to the script).

prerequisites for running the pure scripts

  • Perl 5.32 (or newer)

Additionally the following perl modules need to be installed:

  • Cwd
  • File::HomeDir
  • File::Spec::Functions
  • Perl::DBD::SQLite
  • Perl::DBI
  • Text::SimpleTable::AutoWidth


populate the database

Before getting in touch with the stats, you need to populate the database with the data of your images. Run phosta[.pl] -p <your_image_folder> to add the data of the images in the folder and every subfolder to the database.

The database will be created in the current working dir or at a given place. Be sure that you have write permissions in the respective folder.

query the database

To query the stats, simply run phosta[.pl] -s <fields> -g <grouping> after you've initially filled the database.

For information about parameters and usage call phosta[.pl] --help.

available stats

  • pictures by lens
  • pictures by camera body
  • pictures by shutterspeed
  • pictures by focal length (35mm) used
  • pictures by iso used
  • pictures by aperture

The stats are available as grouped counts by

  • all time total
  • by year
  • by month
  • by week of year


  • I have my images on a network share, how can i include them into the stats?
    You should mount the share and use is like a local directory.

  • Can i add different folders to the statistics?
    Omit the -c param when populating the database to avoid cleaning up old values. The tool will take care that now duplicates are added.