1FINDRULE(1)           User Contributed Perl Documentation          FINDRULE(1)
2
3
4

NAME

6       findrule - command line wrapper to File::Find::Rule
7

USAGE

9         findrule [path...] [expression]
10

DESCRIPTION

12       "findrule" mostly borrows the interface from GNU find(1) to provide a
13       command-line interface onto the File::Find::Rule heirarchy of modules.
14
15       The syntax for expressions is the rule name, preceded by a dash,
16       followed by an optional argument.  If the argument is an opening
17       parenthesis it is taken as a list of arguments, terminated by a closing
18       parenthesis.
19
20       Some examples:
21
22        find -file -name ( foo bar )
23
24       files named "foo" or "bar", below the current directory.
25
26        find -file -name foo -bar
27
28       files named "foo", that have pubs (for this is what our ficticious
29       "bar" clause specifies), below the current directory.
30
31        find -file -name ( -bar )
32
33       files named "-bar", below the current directory.  In this case if we'd
34       have omitted the parenthesis it would have parsed as a call to name
35       with no arguments, followed by a call to -bar.
36
37   Supported switches
38       I'm very slack.  Please consult the File::Find::Rule manpage for now,
39       and prepend - to the commands that you want.
40
41   Extra bonus switches
42       findrule automatically loads all of your installed File::Find::Rule::*
43       extension modules, so check the documentation to see what those would
44       be.
45

AUTHOR

47       Richard Clamp <richardc@unixbeard.net> from a suggestion by Tatsuhiko
48       Miyagawa
49
51       Copyright (C) 2002 Richard Clamp.  All Rights Reserved.
52
53       This program is free software; you can redistribute it and/or modify it
54       under the same terms as Perl itself.
55

SEE ALSO

57       File::Find::Rule
58
59
60
61perl v5.32.0                      2020-07-28                       FINDRULE(1)
Impressum