Variable: dired-create-destination-dirs

dired-create-destination-dirs is a customizable variable defined in dired-aux.el.gz.

Value

nil

Documentation

Whether Dired should create destination dirs when copying/removing files.

If nil, don't create them. If always, create them without asking. If ask, ask for user confirmation.

This variable was added, or its default value changed, in Emacs 27.1.

Probably introduced at or before Emacs version 27.1.

Source Code

;; Defined in /usr/src/emacs/lisp/dired-aux.el.gz
(defcustom dired-create-destination-dirs nil
  "Whether Dired should create destination dirs when copying/removing files.
If nil, don't create them.
If `always', create them without asking.
If `ask', ask for user confirmation."
  :type '(choice (const :tag "Never create non-existent dirs" nil)
		 (const :tag "Always create non-existent dirs" always)
		 (const :tag "Ask for user confirmation" ask))
  :group 'dired
  :version "27.1")