Return to Snippet

Revision: 24145
at February 22, 2010 10:02 by joe-bbb


Updated Code
find . -name '*.pngx' -exec rename 's/\.pngx$/\.png/' {} \;

or

find . -name '*.pngx' | xargs rename 's/\.pngx$/\.png/' {} \;

Revision: 24144
at February 22, 2010 09:52 by joe-bbb


Initial Code
find . -name '*.pngx' -exec rename 's/\.pngx$/\.png/' {} \;

Initial URL

                                

Initial Description
This replaces all .pngx files with .png

Initial Title
rename recursive file extensions

Initial Tags
search, replace, perl

Initial Language
Perl