Auto thumbnail based on file system notification(fsnotify) and imagemagic