Sorting images with bash

April 09, 2014

I store all my photos on my Fileserver. I am using an android application called Foldersync to sync all my photos as soon as I connect to my homes wifi.
This means I've got a huge folder filled with photos that rarely gets sorted properly.
This is about to change, I've created a script which can find which date the photo was taken and move it to the corresponding folder. It's a fairly simple program, it uses Identify along with awk and friends to figure out the date. I will most likely rewrite it in some other language in the future since this script is a bit barebones.
This script runs as a cronjob each night.

#!/usr/bin/env bash
/usr/local/bin/sort-jpeg.sh /export/Mnt/Photos/sort /export/Mnt/Photos/. &> /root/sortphoto.log

I still need to figure out how to make my camera autoupload photos to that folder though.

A programming adapter for AVRs

I've just placed an order at [SeeedStudio][sed] for some PCBs that I've designed in [KiCAD][kic].It's a very simple circuit consisting of...… Continue reading

Sppd: SvtPlay Python Downloader

Published on January 13, 2016