Skip to content

Instantly share code, notes, and snippets.

@dannymcc
Created November 12, 2010 23:06
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save dannymcc/674863 to your computer and use it in GitHub Desktop.
Save dannymcc/674863 to your computer and use it in GitHub Desktop.
for file in *.jpg; do newfile=`echo $file|sed 's/.jpg$/.JPG/'` ; mv -i "$file" "$newfile" ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment