Variable: tramp-copy-failed-regexp

tramp-copy-failed-regexp is a customizable variable defined in tramp.el.gz.

Value

".+: \\(?:No such file or directory\\|Permission denied\\|is a directory\\|not a regular file\\)[[:blank:]]*"

Documentation

Regular expression matching copy problems in (s)cp operations.

Source Code

;; Defined in /usr/src/emacs/lisp/net/tramp.el.gz
(defcustom tramp-copy-failed-regexp
  (rx (+ nonl) ": "
      (| "No such file or directory"
	 "Permission denied"
	 "is a directory"
	 "not a regular file")
      (* blank))
  "Regular expression matching copy problems in (s)cp operations."
  :type 'regexp)