Forrest logo
back to the inotifywait tool

inotifywait:ai:85ed1

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

This command will continuously monitor the specified directory for new files and print their details.

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 file?
back to the inotifywait tool