Re: File notification question

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



I think what's most appropriate is "fsniper", which uses inotify.

"fsniper is a tool that monitors a given set of directories for new
files. Then, based on the new file's type or name, it invokes a script
to be run (any executable via the shell) on that file. Common uses
include making a single drop directory for all things from a
webbrowser etc, and having semi-intelligent scripts figure out what to
do with those files."

Seems like that's pretty much... exactly what the user was looking for
originally. You just have it monitor your directory, and make it
execute a script when a new file arrives. Cheers.

-AT

2009/3/25 Johannes Held <mail@xxxxxxxxx>:
> What about inotify?
>
> http://www.ibm.com/developerworks/linux/library/l-inotify.html
>
> --
> Gruß, Johannes
> Täglich http://blog.hehejo.de und du fühlst dich gut.
>
> http://cryptocd.eduforge.org/online_version
>


[Index of Archives]     [Linux Wireless]     [Linux Kernel]     [ATH6KL]     [Linux Bluetooth]     [Linux Netdev]     [Kernel Newbies]     [Share Photos]     [IDE]     [Security]     [Git]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Linux ATA RAID]     [Samba]     [Device Mapper]
  Powered by Linux