Differences

This shows you the differences between the selected revisions of the page.

2019-01-31 2019-03-27
grammar (martin) 5.15 released - removing beta notices (martin)
Line 32: Line 32:
| ''<size[KMG]''  | Matches files smaller than ''size''. | ''<1G'' | | ''<size[KMG]''  | Matches files smaller than ''size''. | ''<1G'' |
| ''>yyyy-mm-dd[&nbsp;hh:mm[:ss]]'' | Matches files modified the last time after the date or time (i.e. "newer than"). | ''>2012-01-01'' \\ ''>2012-02-29&nbsp;08:47'' | | ''>yyyy-mm-dd[&nbsp;hh:mm[:ss]]'' | Matches files modified the last time after the date or time (i.e. "newer than"). | ''>2012-01-01'' \\ ''>2012-02-29&nbsp;08:47'' |
-| ''>time[YDHNS][S]''  | Matches files modified the last time within specified interval (i.e. "newer than"). \\ Cannot be used for directories. \\ One of the following units must be used: ''Y'' (years), ''D'' (days), ''H'' (hours), ''N'' (minutes) or ''S'' (seconds). \\ Optional ''S'' suffix denotes rounding the time before the interval to the start of the interval unit. For example, ''2DS'' refers to the start (midnight) of the day before yesterday. ''0HS'' refers to the start of the current hour. Keywords ''today'' and ''yesterday'' can be used instead of ''0DS'' and ''1DS'', respectively. &beta_feature | ''*.doc>1Y'' \\ ''>2HS'' \\ ''>yesterday'' |+| ''>time[YDHNS][S]''  | Matches files modified the last time within specified interval (i.e. "newer than"). \\ Cannot be used for directories. \\ One of the following units must be used: ''Y'' (years), ''D'' (days), ''H'' (hours), ''N'' (minutes) or ''S'' (seconds). \\ Optional ''S'' suffix denotes rounding the time before the interval to the start of the interval unit. For example, ''2DS'' refers to the start (midnight) of the day before yesterday. ''0HS'' refers to the start of the current hour. Keywords ''today'' and ''yesterday'' can be used instead of ''0DS'' and ''1DS'', respectively. | ''*.doc>1Y'' \\ ''>2HS'' \\ ''>yesterday'' |
| ''<yyyy-mm-dd[&nbsp;hh:mm[:ss]]'' | Matches files modified the last time before the date or time (i.e. "older than"). | ''*.doc<2012-02-29&nbsp;08:54:21'' | | ''<yyyy-mm-dd[&nbsp;hh:mm[:ss]]'' | Matches files modified the last time before the date or time (i.e. "older than"). | ''*.doc<2012-02-29&nbsp;08:54:21'' |
| ''<time[YDHNS][S]''  | Matches files modified the last time before specified interval (i.e. "older than"). | ''<60D'' | | ''<time[YDHNS][S]''  | Matches files modified the last time before specified interval (i.e. "older than"). | ''<60D'' |
Line 43: Line 43:
Note that if your constraint contains spaces (particularly constraint with date and time), to use it in [[scripting]], you need to enclose whole mask to double-quotes. Note that if your constraint contains spaces (particularly constraint with date and time), to use it in [[scripting]], you need to enclose whole mask to double-quotes.
- 
-In [[scripting]], you can use ''[[scripting#timestamp|%TIMESTAMP%]]'' syntax to generate a time constraint. E.g. to select all files modified today, use ''*>=%TIMESTAMP#yyyy-mm-dd%''. //This syntax is deprecated in the latest beta version by the ''S'' suffix, see the table above.// &beta 
===== [[combining]] Combining Masks ===== ===== [[combining]] Combining Masks =====

Last modified: by martin