Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/digitalmoksha/fsevents-tester
RubyMotion app that allows testing out using FSEvents on macOS
https://github.com/digitalmoksha/fsevents-tester
fsevents macos rubymotion
Last synced: 17 days ago
JSON representation
RubyMotion app that allows testing out using FSEvents on macOS
- Host: GitHub
- URL: https://github.com/digitalmoksha/fsevents-tester
- Owner: digitalmoksha
- License: mit
- Created: 2016-11-14T10:23:51.000Z (about 8 years ago)
- Default Branch: master
- Last Pushed: 2024-08-02T00:09:23.000Z (5 months ago)
- Last Synced: 2024-12-05T08:08:33.811Z (17 days ago)
- Topics: fsevents, macos, rubymotion
- Language: Ruby
- Homepage:
- Size: 4.64 MB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
## Watch a folder and display the file system change events (FSEvents) on macOS
Simple macOS app that allows you to choose a folder to watch for file system change events (FSEvents) and displays the events. It uses the [CDEvents](https://github.com/rastersize/CDEvents) cocoapod to interface with FSEvents. It was written using [RubyMotion](http://www.rubymotion.com).
### Installation
A built application can be found in the `bin` folder. If you have RubyMotion installed, then you can change to the folder and run `rake` from the command line.
### Using the program
After starting the app, click the `Watch Folder` button and choose a folder to monitor.
You can then make changes to the folder and see the output.For example, `vim /Users/myuser/Google Drive/Google Drive Test Data/test.txt` will generate
the following output:```
Watching: /Users/myuser/Google Drive/Google Drive Test Data
------------------------------------------------------------------------------FSEvent : path: /Users/myuser/Google Drive/Google Drive Test Data/.test.txt.swx
: file ref:
: ref path:
: flags: 66304 (isCreated, isRemoved, isFile)FSEvent : path: /Users/myuser/Google Drive/Google Drive Test Data/.test.txt.swp
: file ref: file:///.file/id=6571367.9507634
: ref path: /Users/myuser/Google Drive/Google Drive Test Data/.test.txt.swp
: flags: 66304 (isCreated, isRemoved, isFile)FSEvent : path: /Users/myuser/Google Drive/Google Drive Test Data/test.txt
: file ref: file:///.file/id=6571367.9507635
: ref path: /Users/myuser/Google Drive/Google Drive Test Data/test.txt
: flags: 69888 (isCreated, isFile, isModified)FSEvent : path: /Users/myuser/Google Drive/Google Drive Test Data/.test.txt.swp
: file ref:
: ref path:
: flags: 70400 (isCreated, isRemoved, isFile, isModified)
```