Image Magick bash script to resize and crop images

Resizing images is often something that any web developer has to do.movie Hacksaw Ridge 2016 trailer

This is a bash script which resizes and crops images to a perfect 72×72 square.

#!/bin/sh

# script to resize and crop

dir="/Users/data/files/candidate/photo/"
resume=resume
orig=_orig
cd "$dir$orig"
for k in `ls * cialis von lilly.jpg`
do	
	h=`identify -format "%h" $k`
	w=`identify -format "%w" $k`
	#echo "$k, w:$w, h:$h"
	#If landscape
	if [ $w -ge $h ]
		then
	   	 convert $k -resize x72 -crop 72x72+0+0  "$dir$resume/$k"
	     #echo "landscape"
		else
		 convert $k -resize 72x -crop 72x72+0+0 "$dir$resume/$k"
	     #echo "portrait"
	fi
	
done

Recruitment emails, part 2

Another example of recruiter in a big hurry, and in this case, having difficulty in working out how the spell checker works

Hi Kevin,

I hope you a very well today.

i am currently recruiting for a position that i feel would be a fantastic opportunity. The job specification is below, have a look through and if you are interested please could you send me an updated version of your CV.

 C++ Software Developer (Award winning engineering team)

[I’ve never done C++ professionally. The consultant signs off: ]

If you are interested plese call me on 0121———

kind Reagrds, Lisa B——