My intention is to exclude the directory sftp which I have on my disk volume d1.
Using the Rules tab in the Plugin I select Volume d1, and use the browser in the Rule box to select the directory sftp from the displayed tree structure, and then select Rule type Exclude. This results in the following comment and rule being written to /etc/snapraid.conf:
Looking at the SnapRAID documentation (https://www.snapraid.it/manual), Section 8 Pattern, my interpretation of the created rule is that it applies only to the directory sftp in the root directory of the filesystem, not to the directory sftp in the root of Volume d1.
Does anyone agree with my interpretation, or if not have another? Please look at the documentation before answering.
It is my belief that it would be best if created rules used absolute paths, but since the box the Rule box is editable, one could make changes to arrive at different results. For example:
sftp/ would match any directory sftp anywhere on the machine and would match multiple instances of that directory if more than one exists.
A rule matching my exact intentions, and that seems to be in agreement with the documentation would be:
But this does not work.