If you have multiple files having an extension like jpeg and you want to batch rename them to jpg as extension you can do that with a single line of code: [crayon-585288c33f2cb046844413/] In my case I wanted to batch rename all my template files from .jade to .pug, as there was an issue with trademarks, so the command would change to: [crayon-585288c33f2dc867062097/]