$HOME/.config/fsniper/config - user configuration file for fsniper
This file is read by fsniper(1) when launched. It is a C-style
It begins with a watch section.
Then, each subsection is a directory to watch.
Under that, each subsection is a filter for file to apply a rule.
There are 2 types of filters:
image/* will apply the rule only on images image/png will apply the
rule only on png images
*name* Match on name with regular wildcard. Or on extension
(*.jpg for example)
/regex/ Match on name with the regex given.
The last section is the start of the rule, and its format is:
handler = command to apply
The command can be any shell command. To get the file name, use %%
handler = echo %%
This manual page was written by Tanguy Herrmann
<firstname.lastname@example.org>, for the Ubuntu GNU/Linux system (but may be
used by others).