Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
obedmr authored Sep 30, 2020
1 parent 9c104b9 commit efcfe11
Showing 1 changed file with 13 additions and 0 deletions.
13 changes: 13 additions & 0 deletions labs/file-dir-monitor/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,19 @@ The program should monitor events in all of the subdirectories under the specifi
To obtain a list of all of these subdirectories, you will need to make use of [nftw()](https://linux.die.net/man/3/nftw).
When a new subdirectory is added under the tree or a directory is deleted, the set of monitored subdirectories should be updated accordingly.

**Note:** Monitor will only watch until 2nd level of the base directory tree.

**Sample Output**
```
-------------
Start File/Directory Monitor on /home/cs-user/dir1
- [File - Create] - example.txt
- [File - Removal] - example.txt
- [Directory - Create] - subdir
- [File Create] - example2.txt
- [File Rename] - example2.txt -> example3.txt
- [File Create] - subdir/example_in_subdir.txt
```

General Requirements and Considerations
---------------------------------------
Expand Down

0 comments on commit efcfe11

Please sign in to comment.