Skip to content

Instantly share code, notes, and snippets.

@wamberg
Created September 9, 2009 20:08
Show Gist options
  • Save wamberg/184039 to your computer and use it in GitHub Desktop.
Save wamberg/184039 to your computer and use it in GitHub Desktop.
Simple mass rename script
#!/bin/bash
for i in $( find -name "*.php" ); do
mv $i ${i%%.php}.html
done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment