Batch rename file extensions, including subdirectories

Posted by Alan on Stack Overflow See other posts from Stack Overflow or by Alan
Published on 2009-06-22T04:37:17Z Indexed on 2010/03/15 12:59 UTC
Read the original article Hit count: 445

Filed under:
|

I'm renaming empty file extensions with this command:

rename *. *.bla

However, I have a folder with hundreds of such subfolders, and this command requires me to manually navigate to each subfolder and run it.

Is there a command that I can run from just one upper level folder that will include all the files in the subfolders?

© Stack Overflow or respective owner

Related posts about Windows

Related posts about command-line