I run ubuntu 22.04 and installed incrontab.
Here is my incrontab
/x IN_ALL_EVENTS /root/test.sh $@ $% $#
This is the test.sh
#!/bin/bash
echo "$1 : $2 : $3" > /tmp/incron.log
When I copy a file to /x I can see the filename in incron.log.
As soon as I copy a file that has parenthesis in its name there is no entry in events.log