mb
Add more sophisticated filter expression to transfer filter.
VARIABLE = [File.Name, File.Path, File.ModifiedTime, File.Size, File.Type]
OPERATOR = [ logical [>, <, >=, <=, ==, !=, ||, &&], arithmetic [+, -, *, /] ]
FUNCTION = [WildChar(pattern, string), RegExp(pattern, string), Date.Parse(string), Date.ParseSpan(string). Date.Now()]
CONST = [sfFileTypeFolder, sfFileTypeFile, sfFileTypeUnknown, MEGABYTE, KILOBYTE]
EBNF
Sample Expressions:
File.ModifiedTime >= Date.Now() - Date.ParseSpan("01:00")
File.ModifiedTime > Date.Parse("2009-12-31")
WildChar("*.txt", File.Name)
RegExp("^.*\\.txt$", File.Name)
File.Size > 100000
File.Type == sfFileTypeFolder
Function Date and DateSpan:
ISO 8601
VARIABLE = [File.Name, File.Path, File.ModifiedTime, File.Size, File.Type]
OPERATOR = [ logical [>, <, >=, <=, ==, !=, ||, &&], arithmetic [+, -, *, /] ]
FUNCTION = [WildChar(pattern, string), RegExp(pattern, string), Date.Parse(string), Date.ParseSpan(string). Date.Now()]
CONST = [sfFileTypeFolder, sfFileTypeFile, sfFileTypeUnknown, MEGABYTE, KILOBYTE]
EBNF
Sample Expressions:
File.ModifiedTime >= Date.Now() - Date.ParseSpan("01:00")
File.ModifiedTime > Date.Parse("2009-12-31")
WildChar("*.txt", File.Name)
RegExp("^.*\\.txt$", File.Name)
File.Size > 100000
File.Type == sfFileTypeFolder
Function Date and DateSpan:
ISO 8601