Bulk rename files on a linux system: Difference between revisions

From Andreida
(Created page with "Attention, not working on each linux system. Use rename which uses the perl syntax, remove the -n to really do the renaming.<br/> The following example would (without the -n)...")
 
(No difference)

Latest revision as of 11:27, 16 February 2016

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