Inotify is awesome, I've used the python bindings before to good effect but just today I needed to monitor a directory for whenever a file was created.
Pretty easy:
sudo aptitude install inotify-tools
inotifywait -m -r --format '%f' -e CREATE data/
Tuesday, June 1, 2010
Subscribe to:
Posts (Atom)