Take the 2-minute tour ×
Server Fault is a question and answer site for system and network administrators. It's 100% free, no registration required.

In a samhainrc file you are allowed to have a depth associated with your dir. Like so:


But what does it mean when you have a depth of -1? ( I was not able to find anything in the man page regarding particular numbers for depth.)

share|improve this question
Personally I prefer The Misfits to Samhain or Danzig. London Dungeon is a killer... Kidding of course. –  joeqwerty Sep 10 '10 at 0:06
I had to +1 that for the memories of my youth. –  egorgry Sep 10 '10 at 0:38
LOL... a little bit of silliness –  joeqwerty Sep 10 '10 at 1:03
Less Silliness than Shallowness, I think! (Sorry; couldn't help myself...) –  gWaldo Sep 10 '10 at 1:22
Thanks guys for the comments, they rocked! –  user53847 Sep 13 '10 at 20:56

1 Answer 1

OK, I found out the answer to my own question. Apparently I didn't use Google right the first time. So the answer if anyone is looking that you use a "-1", if you want to exclude a subdirectory.

FAQ: 3.1. How can I exclude a (sub-)directory ? http://www.la-samhna.de/samhain/FAQ.html#File%20checking0

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.