Statements can combine multiple criteria, as follows:
-
AND indicates that both statements must be satisfied. For example, in the statement:
INCLUDE (<FILENAME *.mp3> AND <FILE_SIZE_OVER 5GB>)
both conditions must be true in order for the statement to be true.
-
OR indicates that only one statement needs to be satisfied. For example, for the same statement, replacing AND with OR:
INCLUDE (<FILENAME *.mp3> OR <FILE_SIZE_OVER 5GB>)
only one condition needs to be true for the statement to be true.
While AND requires both conditions to be true, OR only requires that either condition to be true.