Skip to content

Instantly share code, notes, and snippets.

@baio
Last active August 29, 2015 14:16
Show Gist options
  • Save baio/a76d4126f3c0e636fa30 to your computer and use it in GitHub Desktop.
Save baio/a76d4126f3c0e636fa30 to your computer and use it in GitHub Desktop.
rename at batch
shopt -s globstar
rename -n 's/\.htm$/\.html/' **
rename -v 's/\.htm$/\.html/' **
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment