Danke ;) Re: OT Kann das Erstellen einer Datei ein Skript starten?
Salve Andreas!
On Wed, 18 Oct 2006, Andreas Kretschmer wrote:
> fam / dnotify soll das können, frag mal google.
es war dnotify was ich suchte und ich habe
apt-cache show befragt ;)
fam
Description: File Alteration Monitor
FAM monitors files and directories, notifying interested applications
of changes.
.
This package provides a server that can monitor a given list of files
and notify applications through a socket. If the kernel supports
dnotify (kernels >= 2.4.x) FAM is notified directly by the kernel.
Otherwise it has to poll the files' status. FAM can also provide a RPC
service for monitoring remote files (such as on a mounted NFS filesystem).
dnotify
Description: Execute a command when the contents of a directory change
dnotify is a simple program based on Linux kernel 2.4.19+'s dnotify
API. dnotify can execute a specified command each time the content
of a specific directory changes. It is run from the command line and
takes two arguments: one or more directories to monitor and a command
to execute whenever a directory has changed. Options control what
events to trigger on: when a file was read in the directory, when one
was created, deleted and so on.
Hmmm hätte auch apt-cache search befragen können, statt die Liste,
aber manchmal hat man nicht sofort eine Idee nach Stichwörtern:
rob@robins:~$ apt-cache search monitor | grep directory
dnotify - Execute a command when the contents of a directory change
gamin - File and directory monitoring system
libgamin0 - Client library for the gamin file and directory monitoring
system
lurkftp - monitor changes in ftp sites and opt. mirror to a local
directory
tripwire - file and directory integrity checker
Also danke,
rob
Reply to: