Forrest logo
back to the inotifywait tool

inotifywait:ai:3fc30

inotifywait event new or modify file
$ inotifywait -m -e create,modify ${directory}
try on your machine

This command uses inotifywait to monitor the specified directory for new or modified files.

This explanation was created by an AI. In most cases those are correct. But please always be careful and never run a command you are not sure if it is safe.

Questions that are answered by this command:

  • inotifywait event new or modify file?
back to the inotifywait tool