Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/fguchelaar/filesystemactions

Provides a configurable Windows Console Application leveraging the FileSystemWatcher, to perform actions when a directory or file is created, changed, renamed or deleted.
https://github.com/fguchelaar/filesystemactions

Last synced: 18 days ago
JSON representation

Provides a configurable Windows Console Application leveraging the FileSystemWatcher, to perform actions when a directory or file is created, changed, renamed or deleted.

Awesome Lists containing this project

README

        

FileSystemActions
=================

Provides a configurable Windows Service leveraging the FileSystemWatcher, to perform actions when a directory or file is created, changed, renamed or deleted.

# Configuration example

```xml



















```

When using the (optional) `timeout` attribute, the actions will not get called multiple times if an event occurs within that timeframe.
Calls to the action are "debounced". The value is in milliseconds.

When the (optional) `debounceOnFolder` attribute is used, the folder-name is used for debouncing, instead of the filename.

The optional attribute `runOnStartup` can be used to run the associated action once, when the watcher is started. This can be helpful when
you have commands registered that run when a file is created in a folder, but when such a file already exists on start up.

## Valid event values
```
onCreated
onChanged
onRenamed
onDeleted
```