Emacs: Rename Files Interactively

Buy Xah Emacs Tutorial. Master emacs benefits for life.
, , …,

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

Go to the directory first, by calling dired. 〔➤ 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. 〔➤ Emacs: Find & Replace Tutorial〕 〔➤ Emacs: Regex Text Pattern Tutorial

Like it? Buy Xah Emacs Tutorial.
blog comments powered by Disqus