Rename .DOC to .doc recursively

$ find /path/to/images -name ‘*.DOC’ -exec rename "s/.DOC/.doc/g" \{\} \;

 

This is the easy way to change all files matching a patten.

You must be logged in to post a comment.