From: Gavin Kistner Date: 2005-07-21T06:38:41+09:00 Subject: Re: Hotfolders or "watched" folders in Ruby? On Jul 20, 2005, at 3:37 PM, Gavin Kistner wrote: > On Jul 20, 2005, at 1:39 PM, Keith Fahlgren wrote: >> I'd like to have a daemon process that watches for new files in a >> specific directory and then runs a command on them once they're >> there. >> > > Simple implementation I did: > http://phrogz.net/RubyLibs/rdoc/classes/Dir/DirectoryWatcher.html Oops...and you can GET that file from: http://phrogz.net/RubyLibs/DirectoryWatcher.rb