Function: dired-do-hardlink-regexp

dired-do-hardlink-regexp is an autoloaded, interactive and byte-compiled function defined in dired-aux.el.gz.

Signature

(dired-do-hardlink-regexp REGEXP NEWNAME &optional ARG WHOLE-NAME)

Documentation

Hardlink selected files whose names match REGEXP to NEWNAME.

See function dired-do-rename-regexp for more info.

View in manual

Key Bindings

Source Code

;; Defined in /usr/src/emacs/lisp/dired-aux.el.gz
;;;###autoload
(defun dired-do-hardlink-regexp (regexp newname &optional arg whole-name)
  "Hardlink selected files whose names match REGEXP to NEWNAME.
See function `dired-do-rename-regexp' for more info."
  (interactive (dired-mark-read-regexp "HardLink"))
  (dired-do-create-files-regexp
   #'add-name-to-file
   "HardLink" arg regexp newname whole-name dired-keep-marker-hardlink))