This pages shows you how to rename multiple files in emacs.
Go to the dir first, by calling
〔➤ Emacs: File Management (dired tutorial)〕
When in dired, call
Then, just edit the file names. When done, type
Following are details.
|【Ctrl+x Ctrl+q】 (emacs 23.1)||
||Start rename by editing|
|【Ctrl+c Ctrl+c】||Commit changes|
|【Ctrl+c Esc】||Abort changes|
While in wdired, you can use find/replace. For example, call
query-replace or call
query-replace-regexp. 〔➤ Emacs: Find ＆ Replace Tutorial〕
〔➤ Emacs: Text Pattern Matching (regex) tutorial〕
There is a bug in emacs 22. (bug#394) If you rename 2 files by exchanging their names, one of the file will get deleted. This is fixed in emacs 23.