Essentially stalk-it is a directory watcher, but with very simple interface.
It is invaluable, where you just need some folders/files to be watched over for their changes.
This little app just do that but with a simple command, or a mere JSON configuration file.
For a brief details you could just run it --help
option.
- basic form - It is also the basic building block of the configuration
{ "src": "<source>", "dest": "<destination>" }
- multi-source form - an array of basic config
[ { "src": "<source>", "dest": "<destination>" }, ... ]
- extended form - form with configurable root
{
"root": { "src": "<root-source>", "dest": "<root-destination>" },
"stalkers": [ { "src": "<source>", "dest": "<destination>" }, ... ]
}
- extended-basic form - same as extended form but basic form replaces
stalkers
with basic configuration
{
"root": { "src": "<root-source>", "dest": "<root-destination>" },
"stalkers": { "src": "<source>", "dest": "<destination>" }
}
- multi-extended form - an array of extended form or extended-basic form
{
"root": { "src": "<root-source>", "dest": "<root-destination>" },
"stalkers": {
"root": { "src": "<sub-root-source>", "dest": "<sub-root-destination>" },
"stalkers": ...
}
}
or
{
"root": { "src": "<root-source>", "dest": "<root-destination>" },
"stalkers": [{
"root": { "src": "<sub-root-source>", "dest": "<sub-root-destination>" },
"stalkers": ...
},{
...
}]
}
- n-Xtended form - nested form of any of the above (figure it yourself)