Emacs: Rename Files Interactively

By Xah Lee. Date: . Last updated: .

This pages shows you how to rename multiple files in emacs.

Go to the directory first, by calling dired. 〔➤see Emacs: File Management (dired tutorial)

When in dired, call dired-toggle-read-onlyCtrl+x Ctrl+q】.

Then, just edit the file names.

When done, do one of:

While in wdired, you can use find/replace. For example, call query-replace or call query-replace-regexp. 〔➤see Emacs: Find & Replace〕 〔➤see Emacs: Regex Tutorial

Like it? Buy Xah Emacs Tutorial. Thanks.

or, buy something from my keyboard store.