parent
c90181c64e
commit
6a42e54e57
1 changed files with 1 additions and 1 deletions
|
@ -127,7 +127,7 @@ EXAMPLES = '''
|
|||
- find: paths="/var/tmp" age="3600" age_stamp=atime recurse=yes
|
||||
|
||||
# find /var/log files equal or greater than 10 megabytes ending with .old or .log.gz
|
||||
- find: paths="/var/tmp" patterns="'*.old','*.log.gz'" size="10m"
|
||||
- find: paths="/var/tmp" patterns="*.old,*.log.gz" size="10m"
|
||||
|
||||
# find /var/log files equal or greater than 10 megabytes ending with .old or .log.gz via regex
|
||||
- find: paths="/var/tmp" patterns="^.*?\.(?:old|log\.gz)$" size="10m" use_regex=True
|
||||
|
|
Loading…
Reference in a new issue