Created
May 4, 2014 10:03
-
-
Save dmpop/8e0f9b55ed3e2ac741ed to your computer and use it in GitHub Desktop.
The exifwrite Bash shell script writes specified make, model, aperture, exposure time shutter speed, and ISO values to a target photo.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
#DESCRIPTION | |
# The exifwrite Bash shell script writes specified make, model, aperture, exposure time shutter speed, and ISO values to a target photo. | |
# DEPENDENCIES | |
# ExifTool | |
# To install the required package on Debian and Ubuntu, run the following command as root: | |
# apt-get install libimage-exiftool-perl | |
# USAGE | |
# ./exifwrite.sh [Make] [Model] [FNumber] [ExposureTime] [ISO] [Filename] | |
# Example: | |
# ./exifwrite.sh 'Nippon Kogaku K.K.' 'Nikon EM' 11 1/125 400 foo.jpg | |
exiftool -make="$1" -model="$2" -fnumber=$3 -exposuretime=$4 -iso=$5 $6 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment