Function: treemacs-copy-marked-files

treemacs-copy-marked-files is an autoloaded, interactive and byte-compiled function defined in treemacs-file-management.el.

Signature

(treemacs-copy-marked-files)

Documentation

Copy all marked files.

For marking files see treemacs-bulk-file-actions.

Key Bindings

Source Code

;; Defined in ~/.emacs.d/elpa/treemacs-20251226.1307/treemacs-file-management.el
;;;###autoload
(defun treemacs-copy-marked-files ()
  "Copy all marked files.

For marking files see `treemacs-bulk-file-actions'."
  (interactive)
  (treemacs--bulk-copy-or-move
   :action 'copy
   :action-fn (lambda (from to)
                (if (file-directory-p from)
                    (copy-directory from to)
                  (copy-file from to)))
   :prompt "Copy to: "
   :finish-verb "Copied"))