4.6. Execute on file created

You can execute an action when a file is created in a directory. The argument filename is pre-populated for you.

actions:
  - title: Print names of new files
    shell: echo {{ filename }}
    execOnCreatedInDir:
      - /home/user/Downloads/