Variable: dired-copy-dereference
dired-copy-dereference is a customizable variable defined in
dired.el.gz.
Value
nil
Documentation
If non-nil, Dired dereferences symlinks when copying them.
This is similar to the "-L" option for the "cp" shell command.
Probably introduced at or before Emacs version 28.1.
Source Code
;; Defined in /usr/src/emacs/lisp/dired.el.gz
(defcustom dired-copy-dereference nil
"If non-nil, Dired dereferences symlinks when copying them.
This is similar to the \"-L\" option for the \"cp\" shell command."
:type 'boolean
:group 'dired)