Some Perl One-liners
Join the DZone community and get the full member experience.Join For Free
Rename htm files to html In windows:
>dir /B /S | perl -wlne"/([^ ]+)\.htm$/i&&rename$1.'.htm',$1.'.html'"In linux:
>find | grep htm | perl -wlne'/([^ ]+)\.htm$/i&&rename$1.".htm",$1.".html"'
Opinions expressed by DZone contributors are their own.