Perl programmer for hire: download my resume (PDF).
John Bokma MexIT
freelance Perl programmer

Comments: Using Emacs Dired to rename files the easy way


At the end of the afternoon Esme complained about her Creative Zen Nano not playing the mp3 podcasts I had downloaded for her last week in the correct order. It soon turned that some files had an extra leading zero in the filename, in total 3 digits, which caused the podcasts being played out of order now and then. I had missed this when I downloaded all podcasts using:

Read the rest of Using Emacs Dired to rename files the easy way.


It is even faster if you rename the files in bulk (with % R).

Check the entry in the manual: 37.9 Transforming File Names in Dired

Posted by Santiago Mejia at 16:24 GMT on 5 November 2011

Thanks Santiago, will do.

Posted by John Bokma at 00:24 GMT on 3 January 2012

Post a comment

Note that your comment doesn't show up immediately. I review each comment before I add it to this site.

Check the Follow this page option if you want to receive an email each time a comment is posted to this page, including yours. A link to turn this option off will be included with each email.

Internet adresses will be converted automatically. You can use the following notation to specify anchor text for a link: [url=]example text[/url].