We are trying to write a script to move away files as soon as they drop in a folder. One way of achieving this is running rsync in a script on cron scheduler.
The problem with this approach is the system overhead. We cannot run it every second and if we run it after an interval of time then we leave the files vulnerable (accessible to senders) for that time gap. Reqirement is that the files should vanish as soon as they arrive.
I checked stackoverflow and found the incron command. But this is only available on Linux and not on Solaris.