Linux file monitor

I need a script to monitor for file creation in mulitple folders. I would prefer that it both provide a notification and an icon in the notification bar that will show links to the folders that have new files.

https://ole.im/blog/2011/oct/20/python-notify

#!/usr/bin/env python
# encoding: utf-8

import pynotify
pynotify.init(“markup”)

n = pynotify.Notification(“Markup”,
”’
<b>bold</b>, <i>italic</i>, <u>underline</u>
and even <a href=”http://google.com”>links</a> are supported!
”’
)

n.show()

http://www.eurion.net/python-snippets/snippet/Create%20an%20Application%20Indicator.html

http://askubuntu.com/questions/287716/how-to-change-menu-entries-in-appindicator-when-it-is-running

https://help.gnome.org/users/zenity/stable/list.html.en

Comments are closed.