stalk-it

a stalker that watches over a set of directories and copies the same over place specified

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.

  1. basic form - It is also the basic building block of the configuration
    { "src": "<source>", "dest": "<destination>" }
  1. multi-source form - an array of basic config
    [ { "src": "<source>", "dest": "<destination>" }, ... ]
  1. extended form - form with configurable root
    { 
        "root": { "src": "<root-source>", "dest": "<root-destination>" },
        "stalkers": [ { "src": "<source>", "dest": "<destination>" }, ... ]
    }
  1. 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>" }
    }
  1. 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": ... 
        },{
            ...
        }] 
    }
  1. n-Xtended form - nested form of any of the above (figure it yourself)