Topics   All   MacOS (Only)   Windows (Only)   Linux (Only, Not)   iOS (Only, Not)  
Components   Crossplatform Mac & Win   Server   Client   Old   Deprecated   Guides   Examples   Videos
New in version: 10.1   10.2   10.3   10.4   10.5   11.0   11.1   11.2   11.3   11.4    Statistic    FMM    Blog  

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

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


FSEvents.SetEvaluate - FSEvents.SetFileName

Feedback: Report problem or ask question.