Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
Terminal Script: Recursively rename or change file extensions (this example, changing extension from .html to .php)
find . -name "*.html" | while read i; do mv "$i" "${i%.html}.php"; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment