Scripting

Rotate and rename images according to their EXIF info

This is my short script to rotate and rename image files accoring to date captured based on their EXIF info. You need jhead and exiv2 to run this. These two programs are also available in Windows and only require you to make small changes to work there as well. #!/bin/bash -x echo Rotating JPEG file(s) […]

Read More
Linux

Rename image files according to EXIF date

This rename trick can be run in Windows, Linux and even Mac since the commandline program I’m going to use, exiv2, is available in all three platforms. Rename all image files in current folder to the format YYYYMMDDHHMM_Filename.EXT This has been tested on my Nikon D80 JPEG and NEF image files. Linux exiv2 -r’%Y%m%d-%H%M_:basename:’ rename […]

Read More
Linux

Resize and watermark images using Imagemagick

This is a modified version of my Resize of images in a folder with imagemagick post back in February. Only difference this time is that i strips out EXIF tags and the script has been cleaned up a bit. Click on the image to see the result in full size. #!/bin/bash # Description: # Script […]

Read More
Photo etc

Strip EXIF tags from JPG files

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

Read More