You are not logged in.
I am trying to get it works.
inotifywait --event modify --format '%w%f' ./*it only print
Setting up watches.
Watches established.while waiting. then, after a file is edited in the directory, nothing show up.
Offline
Do you edit a file which exists at the moment of inotifywait invokation, or create it after inotifywait run?
./* argument is expanded by shell to existing files, so inotifywait is waiting for changes only on files which already exist. If you want to wait for changes on a directory, use . rather than ./*
Offline
"Edit" might not end up being a modification if the file gets replaced w/ a new inode.
Online