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) [...]
Posts Tagged: NEF
Rename files by wildcard pattern and correct the EXIF timestamp metadata
This is a little script I’ve written to correct all my image files since the EXIF timestamp information is one hour out of sync. The filenames have been renamed to comply to the EXIF information and has to be renamed again because of the one hour scew. The filename can look something like this 20080102-1201_DSC_0910.JPG [...]
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 [...]
dcraw examples
dcraw is a linux/Windows command line tool. It can convert RAW-files and that does also include Nikons NEF-files. Raw photo decoder “dcraw” v8.73 by Dave Coffin, dcoffin a cybercom o net Usage: dcraw [OPTION]… [FILE]… -v Print verbose messages -c Write image data to standard output -e Extract embedded thumbnail image -i Identify files without [...]
Shell scripts for archiving digital photos in directories by month
This is my version of the shell script “Shell scripts for archiving digital photos in directories by date“. It utilizes the exiftags command available in most linux distributions like Gentoo and debian Linux. Though the metacam program is also usefull since it can read Nikon NEF-files. Here’s an example of a directory tree they create: [...]
Recent Comments