A small file system monitoring app which shows files that have been modified, created or deleted
Will build this to make it a cli tool rather than be in dev mode
- Poetry
- Python3.10>
poetry install .
poetry run file_watcher/main.py . '\.py$'
Arguments
- Directory: Mandatory
- Pattern: Optional
Regex will have to match python regex for e.g.
poetry run file_watcher/main.py . '\.py$'
This will look for only files with the extension .py
.
Just extend the command for e.g.
poetry run file_watcher/main.py . '\.py$' '\.yml$' 'blah'
- Add a file content checksumming
- Impl file filtering (should be done via the patterns already, just need to impl)
- Add a REST API to query file changes (might be interesting)
- Impl a TUI for an interface