by Josh Highland on July 14, 2011
Just like my last post, I was working with a directory of about 1000 files. There was all sorts of problems with the way they were named. Anyone whos used a *nix type system will know that “.jpg”, “.Jpg”, “.JPG” are all very separate things. To solve the issue I was having I needed to rename all of the files in the directory to lowercase.
I fired up my friend the Mac terminal and ran the following command:
for i in *; do mv "$i" "$(echo $i|tr A-Z a-z)"; done
The code loops through each of the files in the current directory and renames it to the lowercase equivalent. fast, simple, elegant. Major time saver.
by Josh Highland on July 13, 2011

Recently I was presented with a problem where I had a directory of about 1000 graphic files of mixed formats (png, gif, bmp, jpg), and I needed to convert them all to jpg files.
I tried various solutions but I ended using the following command in my Mac’s terminal.
mkdir jpegs; sips -s format jpeg *.* --out jpgs
This command creates directory called “jpgs”, and converts all of the files in the current directory into .jpg format, and moves them into the newly created “jpgs” direcotry.
It truly saved the day.
by Josh Highland on April 13, 2011
That’s right, I’m speaking at the 2011 Orange County WordCamp, May 14th.
What is a WordCamp? WordCamp is a conference that focuses on everything WordPress. WordCamps are informal, community-organized events that are put together by WordPress users. Everyone from casual users to core developers participate, share ideas, and get to know each other.
I’m going to be presenting the topic, “Optimizing WordPress: Speed Matters”
By itself, WordPress is fast and snappy application but over time your site may become sluggish and laggy. A slow site is not good for your readers, or your search engine rankings. In a one hour presentation, I’m going to show some practical ways to optimize your WordPress sites content and configuration. The presentation will cover best practices, helpful plugins and real life optimization examples.
I’m excited to check out the other topics that are being presented. The OC WordCamp has three distinct tracks of sessions, beginners, advanced, and business minded users.
If you’re free on May 14th 2011 and love WordPress, you should come and hang out with some fellow WordPress users. http://2011.oc.wordcamp.org
by Josh Highland on March 22, 2011
I originally found this onĀ TheOatmeal.com. It’s funny because its true. I can hardly read my own handwriting now, but I sure can type!

by Josh Highland on March 3, 2011