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
Creates a new FSEvents monitor relative to a device.
Component | Version | macOS | Windows | Linux | Server | iOS SDK |
FSEvents | 6.0 | ✅ Yes | ❌ No | ❌ No | ✅ Yes, on macOS | ❌ No |
Parameter | Description | Example | Flags |
---|---|---|---|
DeviceID | The device ID. Either a number or the path to a file/folder of that device. | "/" | |
PathList | List of folders to watch. (or just one path) |
$path | |
sinceWhen | The event ID from where to start. Can be the latest ID you saw last time or you pass "now" to start with now. | "now" | |
Flags | The flags. Can be a combination of NoDefer, WatchRoot, IgnoreSelf, FileEvents or MarkSelf. | "IgnoreSelf,FileEvents" | Optional |
latency | The latency. | 2 | Optional |
Returns reference number or error.
Watch root device with root folder since now:
MBS("FSEvents.CreateRelativeToDevice"; "/"; ""; "now")
Created 29th November 2015, last changed 6th August 2017
FSEvents.Create - FSEvents.CurrentEventId
Feedback: Report problem or ask question.