Skip to content

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

License

Notifications You must be signed in to change notification settings

miharekar/photocopier

Repository files navigation

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

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages