Function: find-not
find-not is a byte-compiled function defined in find-cmd.el.gz.
Signature
(find-not FORM)
Documentation
Or FORMs together and prefix with a -not, so:
(not (mtime "+1") (name "something"))
will produce:
-not \( -mtime +1 -or -name something \)
If you wanted the FORMs -and(ed) together instead then this would
suffice:
(not (and (mtime "+1") (name "something")))
Source Code
;; Defined in /usr/src/emacs/lisp/find-cmd.el.gz
(defun find-not (form)
"Or FORMs together and prefix with a -not, so:
(not (mtime \"+1\") (name \"something\"))
will produce:
-not \\( -mtime +1 -or -name something \\)
If you wanted the FORMs -and(ed) together instead then this would
suffice:
(not (and (mtime \"+1\") (name \"something\")))"
(concat "-not " (find-or (mapcar #'find-to-string form))))