Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Batch rename extensions from the command line.
find site -depth -name "*.asp.html" -exec sh -c 'mv "$1" "${1%.asp.html}.php"' _ {} \;
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.