File: find-cmd.el.html

With this module you can build up a (hopefully) valid find(1) string ready for the command line. For example:

(find-cmd '(prune (name ".svn" ".git" ".CVS"))
          '(and (or (name "*.pl" "*.pm" "*.t")
                    (mtime "+1"))
                (fstype "nfs" "ufs")))

will become (un-wrapped):

    "find '/home/phil/' \\\\( \\\\( -name '.svn' -or -name '.git' -or
     -name '.CVS' \\\\) -prune -or -true \\\\) \\\\( \\\\( \\\\( -name '*.pl'
     -or -name '*.pm' -or -name '*.t' \\\\) -or -mtime '+1' \\\\) -and \\\\(
     -fstype 'nfs' -or -fstype 'ufs' \\\\) \\\\)"

Defined variables (1)

find-constituentsHolds details of each of the find options.

Defined functions (8)

find-and(FORM)
find-cmd(&rest SUBFINDS)
find-command(FORM)
find-generic(OPTION &optional OPER ARGCOUNT ARGS DONT-QUOTE)
find-not(FORM)
find-or(FORM)
find-prune(FORM)
find-to-string(FORM)

Defined faces (0)