dired-do-rename

dired-do-rename is an interactive autoloaded compiled Lisp function in `dired-aux.el'.


(dired-do-rename &optional ARG)

Rename current file or all marked (or next ARG) files.
When renaming just the current file, you specify the new name.
When renaming multiple or marked files, you specify a directory.
This command also renames any buffers that are visiting the files.
The default suggested for the target directory depends on the value
of `dired-dwim-target', which see.