Linux HOWTOs

About | Home | Search


HOWTO: jhead
Description: Exif Jpeg camera setting parser and thumbnail remover
Click here for ChangeLog
NOTE: I use GNU tar >= 1.13.25 so it's -j for .tar.bz2 files,
it's safe to assume that make, gcc, binutils, fileutils/coreutils, gawk, sed, and grep are prerequisites for almost everything


# jhead 2.87
# ===========
cd
test -f installed/jhead-2.87.tar.gz &&
 mv installed/jhead-2.87.tar.gz .
test ! -f jhead-2.87.tar.gz &&
 wget http://www.sentex.net/~mwandel/jhead/jhead-2.87.tar.gz
mkdir -p -m 0700 src
cd src
find -maxdepth 1 -type d -name "jhead-*" -exec rm -r {} \;
tar xzvf ~/jhead-2.87.tar.gz
cd jhead-2.87
test $UID = 0 && chown -R root:root .
make

# Become root to install it
su

install -s jhead /usr/local/bin/
install -m 644 jhead.1 /usr/local/man/man1/

# Become yourself again
exit

cd
mkdir -p -m 0700 installed
rm -f installed/jhead-*.tar.*
mv jhead-2.87.tar.gz installed/

Back to the list


Last updated: Tue, 07 Aug 2018 12:06:17 -0400
Jason Englander <jason at englanders dot us>