I recently experienced an issue where I wanted to change the extension on multiple jpeg files in a directory to have uniform case. This particular gallery directory had several hundred files and some were .JPG while others were .jpg. A simple shell command can be used to perform renaming of all files to the extension…
Continue Reading
Using Grep To Perform A Recursive Search For Text String
I often find myself looking to a specific string of text within multiple directories and files. Grep makes this an easy task. An almost daily use for me is searching a directory, (and all it’s sub-directories), for a string when working with some outdated theme or style on a web-server. This example: $ grep -r…
Continue Reading