Variable: find-exec-terminator

find-exec-terminator is a customizable variable defined in find-dired.el.gz.

Value

"+"

Documentation

String that terminates "find -exec COMMAND {} ".

The value should include any needed quoting for the shell. Common values are "+" and "\\\\;", with the former more efficient than the latter.

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

Source Code

;; Defined in /usr/src/emacs/lisp/find-dired.el.gz
;; FIXME this option does not really belong in this file, it's more general.
;; Eg cf some tests in grep.el.
(defcustom find-exec-terminator
  (if (eq 0
	  (ignore-errors
	    (process-file find-program nil nil nil
			  null-device "-exec" "echo" "{}" "+")))
      "+"
    (shell-quote-argument ";"))
  "String that terminates \"find -exec COMMAND {} \".
The value should include any needed quoting for the shell.
Common values are \"+\" and \"\\\\;\", with the former more efficient
than the latter."
  :version "24.1"
  :group 'find-dired
  :type 'string)