Answer the question
In order to leave comments, you need to log in
How to bulk rename the extension of a group of files located in folders?
I have a project - there are a lot of folders in it, template files with the pug extension - I switch to twig and the extensions need to be renamed.
Tried:
[email protected]:~/projects/umka-lp$ mmv ./\*.pug ./\*.twig
./*.pug -> ./*.twig : no match.
Nothing done.
[email protected]:~/projects/umka-lp$ rename '.pug/g' *.twig
syntax error at (user-supplied code), near "."
Guys help, what am I doing wrong?
Answer the question
In order to leave comments, you need to log in
dudes on top are weird
where find . this is for the current directory.
For all levels of nesting. if you need to limit, then you prescribe -maxdepth 2 for example
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question