Skip to content

Modified Java directory watcher example, made to be generic and useful.

Notifications You must be signed in to change notification settings

joshes/directory-watcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

19 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Directory Watcher

Modified Java directory watcher example, made to be generic and useful.

Changes

  • Allow for a callback to be executed when a file/directory event is triggered
  • Allow for path filtering from commandline
  • Allow for notifications to be passed to executables (%file% and %event%)

Example

java -jar DirectoryWatcher.jar -watch /Users/joshes/test -filter ".*?sub_dir\/?.*?" -callback "echo '%event% - %file%'"

Build Status

About

Modified Java directory watcher example, made to be generic and useful.

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages