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/
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment