wdired

Homepage: https://www.gnu.org/software/emacs

Author: Juan León Lahoz García

Summary

Rename files editing their names in dired buffers

Commentary

wdired.el (the "w" is for writable) provides an alternative way of
renaming files.

Have you ever wanted to use `C-x r t' (`string-rectangle'), `M-%'
(`query-replace'), `M-c' (`capitalize-word'), etc... to change the
name of the files in a Dired buffer?  Now you can do this.  All the
power of Emacs commands are available when renaming files!

This package provides a function that makes the filenames of a
Dired buffer editable, by changing the buffer mode (which inhibits
all of the commands of Dired mode).  Here you can edit the names of
one or more files and directories, and when you press `C-c C-c',
the renaming takes effect and you are back to Dired mode.

Other things you can do with WDired:

- Move files to another directory (by typing their path,
  absolute or relative, as a part of the new filename).

- Change the target of symbolic links.

- Change the permission bits of the filenames (in systems with a
  working unix-alike "chmod").  See and customize the variable
  `wdired-allow-to-change-permissions'.  To change a single char
  (toggling between its two more usual values), you can press the
  space bar over it or left-click the mouse.  To set any char to a
  specific value (this includes the SUID, SGID and STI bits) you
  can use the key labeled as the letter you want.  Please note that
  permissions of the links cannot be changed in that way, because
  the change would affect to their targets, and this would not be
  WYSIWYG :-).

- Mark files for deletion, by deleting their whole filename.

* Usage:

You can edit the names of the files by typing `C-x C-q' or
`M-x wdired-change-to-wdired-mode'.  Use `C-c C-c' when
finished or `C-c C-k' to abort.

You can customize the behavior of this package from the "WDired"
menu or with `M-x customize-group RET wdired RET'.

Dependencies

Reverse dependencies