Posts Tagged: EXIF

Strip EXIF tags from JPG files

Posted by & filed under Photo etc, Scripting.

Sometimes it’s a good idea to remove the hidden data a JPG file contains, like when you publish picures on the Internet. An easy way to remove all EXIF-tags from your JPG files is to run the command using jhead jhead -purejpg *.jpg

A EXIF dater script

Posted by & filed under Linux, Photo etc, Scripting.

The script below will take a filename eg: DSCN0001.JPG, extract the “Image Created” metadata and rename the original file to something like 2006-03-23_DSCN00001.JPG and it will do it automatically for you. #! /bin/shfunction usage() { if [ $# -ne 1 ]; then echo “ExifDater – version 0.1 – March 23 2006″ echo “El-Lotso ” echo [...]

Shell scripts for archiving digital photos in directories by date

Posted by & filed under Linux, Photo etc, Scripting.

The fact that most digital cameras store the shooting dates inside JPEG files in the EXIF format makes it possible to automatically archive the photos by date right after they are downloaded, which is exactly what the scripts below do. Here’s an example of a directory tree they create: 1999 1999-07 1999-07-14 IMG_48324.JPG IMG_48325.JPG IMG_48326.JPG [...]