Answer the question
In order to leave comments, you need to log in
Ssh recursive renaming of files?
there are files .php.gz should be replaced with .php
now I'm doing this rename 's/.php.gz/.php/g' *.php.gz
How to make it recursive?
Answer the question
In order to leave comments, you need to log in
find. -name "*.php.gz" -exec rename -v 's/.php.gz$/.php/g' {} \;
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question