Skip to content

talk2sjb/FileWatcher

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 

Repository files navigation

Build the maven project

mvn clean install

In order to run the FileWatcherObserverUsingApache class as main

java -cp target/file-monitor-1.0-SNAPSHOT.jar org.sjb.filemonitor.FileWatcherObserverUsingApache <directory_to_watch> > monitor.log 2>&1 &

In order to run the FileWatcherService as main

Use -r as an argument if you want to recursively watch all the sub-folders, else omit -r

java -cp target/file-monitor-1.0-SNAPSHOT.jar org.sjb.filemonitor.FileWatcherService -r <directory_to_watch> > monitor.log 2>&1 &

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages