Components All New MacOS Windows Linux iOS
Examples Mac & Win Server Client Guides Statistic FMM Blog Deprecated Old

FSEvents.SetExclusionPaths

Sets directories to be filtered from the EventStream.

Component Version macOS Windows Linux Server iOS SDK
FSEvents 6.0 ✅ Yes ❌ No ❌ No ✅ Yes, on macOS ❌ No
MBS( "FSEvents.SetExclusionPaths"; FSEventsRef; Paths )   More

Parameters

Parameter Description Example
FSEventsRef The reference number for this FSEvents object. $fstream
Paths The list of directories to filter.

Result

Returns 1, 0 or error.

Description

Sets directories to be filtered from the EventStream.
A maximum of 8 directories maybe specified.

Requires OS X 10.9 or newer.
Returns 1 on success or 0 on failure.

Examples

Pass two paths to ignore:

Set Variable [$r; Value:MBS( "FSEvents.SetExclusionPaths"; $FSEvents; "/Backups¶/Data/Temp" )]

See also

This function checks for a license.

Created 29th November 2015, last changed 13th March 2016


FSEvents.SetEvaluate - FSEvents.SetFileName