Skip to content

Instantly share code, notes, and snippets.

@hewigovens
Created November 8, 2011 01:04
Show Gist options
  • Save hewigovens/1346721 to your computer and use it in GitHub Desktop.
Save hewigovens/1346721 to your computer and use it in GitHub Desktop.
Rename files
#!/bin/bash
for f in *.jpg
do
mv $f "`basename $f .jpg`_en.jpg"
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment