Photo etc

Embed exif comment with jhead

The jhead program be used to add or modify comments in JPEG image files. However I found using the -ce option to ‘edit comments’ not a good way to do that as it adds an extra newline to the end of the comment.

Read More
Linux

Embed copyright notices into JPEG images

Digital Cameras embed several types of data inside the images you take, including camera manufacturer, date the picture was taken, and aperture, shutter speed, and focal length settings. These are called EXIF tags and are also called “metadata.” Here’s how to take advantage of these tags to embed your own copyright notice. You’ll need the […]

Read More
Scripting

Organise images using exiftool

Move all files from directory dir into directories named by the original file extensions exiftool ‘-Directory<datetimeoriginal> Rename all images in dir according to the CreateDate date and time, adding a copy number with leading ‘-‘ if the file already exists (%-c), and preserving the original file extension (%e). Note the extra ‘%’ necessary to escape […]

Read More
Photo etc

rsync backup on a local pc

#!/bin/bash echo “Starting Daily rsync backup on `date`” for FSYS in /home/username/rsync do /usr/bin/rsync -aE –delete $FSYS /home/username/rsync_bck if [ $? != 0 ]; then echo ” ==> Error during rsync of $FSYS” else echo “rsync of $FSYS OK on `date`” fi done echo “Finished Daily rsync backup at `date`”

Read More