Is there any way of batch renaming files in sub directories?
For example:
Rename *.html to *.htm in a folder which has directories
*.html
*.htm
In Bash, you could do the following:
for x in $(find . -name \*.html); do mv $x $(echo "$x" | sed 's/\.html$/.htm/') done