Skip to content

Instantly share code, notes, and snippets.

@sunny-mittal
sunny-mittal / recursively-rename-extension.sh
Created October 11, 2022 21:26 — forked from bzerangue/recursively-rename-extension.sh
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