Bulk Rename Files

Using standard linux regex replace (used for programs like sed, or vi), you can rename files using something like

rename ’s/\.htm$/\.html/*.htm

which will replace all files ending in ‘htm’ with the ending ‘html’.

Leave a Comment