[arch-general] File notification question
Is it possible to set up a process( which notifies me via some sort of icon on taskbar try like email alert does) which monitors a particular directory on my computer and if a new file is added to that directory, triggers the alert? If so, if anyone can point me in the direction it would be appreciated. Thanks in advance Richard
On Wed, Mar 18, 2009 at 16:35, richard terry <rterry@pacific.net.au> wrote:
Is it possible to set up a process( which notifies me via some sort of icon on taskbar try like email alert does) which monitors a particular directory on my computer and if a new file is added to that directory, triggers the alert?
If so, if anyone can point me in the direction it would be appreciated.
Thanks in advance
Richard
I know it's possible, but I forget the name of the tool
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 richard terry wrote: | Is it possible to set up a process( which notifies me via some sort of icon on | taskbar try like email alert does) which monitors a particular directory on | my computer and if a new file is added to that directory, triggers the alert? | | If so, if anyone can point me in the direction it would be appreciated. You can use inotify or fsniper with a script and notify-send. -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iQIcBAEBAgAGBQJJwV2HAAoJEG0WVcFM4cE+L9UQAKxANK10VgrRCdhqTv6cf/FZ tL/F+WvBQzfR9qx2C/9GaAM//vUnl6LckKPVkOG1rjubfyupx7X6mNAt+boPvz6s ccSxLrV9yuqzdOEgdIabaASpRCrbxpwtcDRqPt9jXaR0NN2qkMoICRf2+vQ3OyTI +TdqmpxFIG2a1RttwH+OJYX9FDDTf7CnQZToOxx5ekQ9ZEjuIEOj69kUCZveGLBf Fxhae2UgdQVKFpmktKX10PmVjOuw24uvYJUW1f7phDcaSF8jPnNgInxlaZ5A22ka G9wdZP767EP3NevZsfLaHViPXhFVYyoN+CvM+AHMxvc2LeQDTVe2j1xIdhdmOi/P FDRGleKJHEH7szAsMLDklPR48rl2uMnAtuWXN2jksfe2ZuQdIKzJtYObWwX+U6k6 0NNV4NunKEShL9uN7IJxKIlbQ9zfEJ6+4NYMKiYdYd07HaIJFAhnIX/G5vIsA8f0 CVpdtSl6HvOV/s+Wx2KrlvGkSC3+JLfvBRDYeo2OGwbRMKL9uxuzzKaxRt7JLxlk HwvA9ShRMIsmIqv0CMCVl9w1uz8jGWfopAXuFgmFMLH8qCsoIr8yDk/481VyPg8Y KBs9uxDBq3N13nza4WRkE8LAsffzSL6uiw3k382DFECJZEJw4XAAOogkTLrZOQnU BLaGSrA/s+y4JA+kwor7 =jYCG -----END PGP SIGNATURE-----
Le Thu, 19 Mar 2009 07:35:19 +1100, richard terry <rterry@pacific.net.au> a écrit :
Is it possible to set up a process( which notifies me via some sort of icon on taskbar try like email alert does) which monitors a particular directory on my computer and if a new file is added to that directory, triggers the alert?
If so, if anyone can point me in the direction it would be appreciated.
Thanks in advance
Take a look at incron. I would use it and make it call a script that shows the popup. -- catwell
On Wed, Mar 18, 2009 at 09:35:19PM +0100, richard terry wrote:
Is it possible to set up a process( which notifies me via some sort of icon on taskbar try like email alert does) which monitors a particular directory on my computer and if a new file is added to that directory, triggers the alert?
If so, if anyone can point me in the direction it would be appreciated.
Thanks in advance
Richard
Look at package tripwire, though I never used it. J -- Little New Year's and the moon has deigned to rise!
What about inotify? http://www.ibm.com/developerworks/linux/library/l-inotify.html -- Gruß, Johannes Täglich http://blog.hehejo.de und du fühlst dich gut. http://cryptocd.eduforge.org/online_version
I think what's most appropriate is "fsniper", which uses inotify. "fsniper is a tool that monitors a given set of directories for new files. Then, based on the new file's type or name, it invokes a script to be run (any executable via the shell) on that file. Common uses include making a single drop directory for all things from a webbrowser etc, and having semi-intelligent scripts figure out what to do with those files." Seems like that's pretty much... exactly what the user was looking for originally. You just have it monitor your directory, and make it execute a script when a new file arrives. Cheers. -AT 2009/3/25 Johannes Held <mail@hehejo.de>:
What about inotify?
http://www.ibm.com/developerworks/linux/library/l-inotify.html
-- Gruß, Johannes Täglich http://blog.hehejo.de und du fühlst dich gut.
You can take a look at Specto. Esdras 2009/3/18 richard terry <rterry@pacific.net.au>
Is it possible to set up a process( which notifies me via some sort of icon on taskbar try like email alert does) which monitors a particular directory on my computer and if a new file is added to that directory, triggers the alert?
If so, if anyone can point me in the direction it would be appreciated.
Thanks in advance
Richard
participants (8)
-
Andrei Thorp
-
Daenyth Blank
-
Esdras Beleza
-
Florian Pritz
-
Jaroslav Lichtblau
-
Johannes Held
-
Pierre Chapuis
-
richard terry