Skip to content

Latest commit

 

History

History
36 lines (24 loc) · 1.04 KB

README.md

File metadata and controls

36 lines (24 loc) · 1.04 KB

Photocopier

I always do the same photo copying from SD cards and I decided to automate it. So I wrote this simple Ruby script.

This is how it works:

  1. it asks on which volume the photos are
  2. it analyzes exif of all the photos on it
  3. it groups photos by day taken and camera model
  4. it asks what those event names should be
  5. it creates a folder per event on your desktop
  6. it copies photos in there

It also remembers which photos were already imported, so it won't import them twice if you didn't format the card between imports.

Oh, and the photos above stands for images, videos, raw files,…, everything.

The script has been tested with:

  • Leica Q2
  • DJI Air 2S
  • GoPro HERO10

Feel free to fork and extend for your own needs.

Requirements

Running

Once you have all requirements on your system, you should clone this repo, and in your shell run the following commands:

  1. bundle install
  2. sequel -m migrations sqlite://photos.db
  3. ruby run.rb