Posts about ruby
Here's a new script: Goes through all the folders for which you call it and finds and organizes JPG images.
The need came when i downloaded all my Google Photos and wanted to organize them in year and month folders.
Basically the script reads the EXIF data in the images and moves them into photos/<year>/<month>. If it cannot read the metadata, or fails parsing the date, or another weird reason, it skips that image and moves on.
Code (and instructions) available at https://github.com/noc...
We recently started using this outstanding devops tool called Terraform at Drover. Basically it allows us to describe how we want our environments to be and apply that "plan" automatically. It's a bit like Ansible and its playbooks concept but - IMO - does a better job at tracking what resources exist and in which state they are in.
Following up on my last post about Ruby gems, here's a list of some of my typical choices for various tasks in the Ruby and Ruby on Rails world: