FSNIPER(5) | Configuration file format | FSNIPER(5) |
$HOME/.config/fsniper/config - user configuration file for fsniper
This file is read by fsniper(1) when launched. It is a C-style configuration file.
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:
MIME-Type filters
Name filters
Wildcards
Regular Expressions
The last section is the start of the rule, and its format is:
The command can be any shell command. To get the file name, use %%
Example:
/usr/share/doc/fsniper/examples/example.conf, <http://code.l3ib.org/?p=fsniper.git;a=blob_plain;f=doc/doc.txt>, fsniper(1)
This manual page was written by Tanguy Herrmann <dolanor@evereska.org>, for the Ubuntu GNU/Linux system (but may be used by others).
January 2009 | Configuration file format |