Emacs: Rename Files Interactively

From http://ergoemacs.org/emacs/rename_file_pattern.html

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:

  • wdired-finish-editCtrl+c Ctrl+c】 to commit the changes.
  • wdired-abort-changesCtrl+c Ctrl+k】 to abort the changes.
Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s