Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 18 Apr 2021 09:33:02 +0200
From:      Gian Piero Carrubba <gpiero@rm-rf.it>
To:        freebsd-questions@freebsd.org
Subject:   Re: Equivalent linux notify for FreeBSD
Message-ID:  <20210418073302.3ee2m25fymsenjpj@robinhood.fdc.rm-rf.it>
In-Reply-To: <72AE8510-843D-4499-8758-C0E67EE0AF48@outlook.com>
References:  <72AE8510-843D-4499-8758-C0E67EE0AF48@outlook.com>

next in thread | previous in thread | raw e-mail | index | archive | help
* [Sun, Apr 18, 2021 at 06:45:53AM +0000] Carlos Lopez:
> Is there something equivalent like the inotify options for FreeBSD? I 
> am trying to generate a script that monitors a list of files and moves 
> them once they are closed.

There's kqueue, but there are substantial differences from inotify 
(e.g.: I don't think you can monitor a directory). I don't know if 
there's any ready-to-use command line tool to take advantage of kqueue, 
though.

Ciao,
Gian Piero.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20210418073302.3ee2m25fymsenjpj>