rename recursive file extensions


/ Published in: Perl
Save to your folder(s)

This replaces all .pngx files with .png


Copy this code and paste it in your HTML
  1. find . -name '*.pngx' -exec rename 's/\.pngx$/\.png/' {} \;
  2.  
  3. or
  4.  
  5. find . -name '*.pngx' | xargs rename 's/\.pngx$/\.png/' {} \;

Report this snippet


Comments

RSS Icon Subscribe to comments

You need to login to post a comment.