Automatically process new files with fsniper

Posted by Sander_Marechal on Oct 17, 2008 11:24 PM EDT
Linux.com; By Ben Martin
Mail this story
Print this story

fsniper lets you monitor specified directories and execute scripts on any new files that are created in them. Because fsniper uses inotify to monitor its directories, the actions you define are executed as soon as filesystem changes happen. This makes fsniper both more immediate than an hourly cron job and more efficient. One possibility that suggests itself when you think about automatically processing files as they are placed in a directory is to have some sort of classification of files that you download from the Web. In fact, this is the first example that the fsniper Web site gives.

Full Story

  Nav
» Read more about: Story Type: Reviews; Groups: Linux

« Return to the newswire homepage

Subject Topic Starter Replies Views Last Post
this is better herzeleid 1 971 Oct 18, 2008 3:33 AM

You cannot post until you login.