Bulk rename files on a linux system

From Andreida
Jump to: navigation, search

Attention, not working on each linux system.

Use rename which uses the perl syntax, remove the -n to really do the renaming.
The following example would (without the -n) rename all .htm files to .html:

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