/davicasa

A utility that sorts and maintains images based on EXIF data

Primary LanguageJava

Build status Language Code Coverage

davicasa

Davicasa is a small utility that we use to sort and maintain the photos of our kids. The tool has two modes of operation:

  • given a source directory it may detect and delete identical images based on binary comparison;
  • given a source and a target directory the tool is able to copy and rename the source images to the target directory by using the timestamp left by the camera in the EXIF data;

The tool supports a "dry-run" option - it will try to output all the operations that would be normally performed without changing anything in the FS.

Running

There is no binary distribution. However the tool can be easily built with gradle (gradle wrapper is included in the source distribution so there is nothing to install additionally).

Download or clone the sources. From the main project directory run:

gradlew installApp

If this is successful (assuming standard directory structure) in the newly created folder

build/install/davicasa/bin
there should be a shell script that is able to run the application. Take all these files (in the
davicasa
folder) and put them in a directory of your choice.

From the

bin
subfolder run:

  • for example, under Windows:
davicasa -help

This will print a detailed usage message.

Exploring

The tool can be easily imported and explored in Eclipse. In the source directory run:

gradlew eclipse

You may easily import the tool in Eclipse as an existing project then.