miharekar / photocopier

Copy Photos from removable drive to Desktop named by date taken and camera model

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

Copy Photos from removable drive to Desktop named by date taken and camera model

License:MIT License


Languages

Language:Ruby 100.0%