summaryrefslogtreecommitdiff
path: root/internal/config/skel/template.conf
blob: 867b6811c0c5dc9f7f8969fe04a345c6b7045f69 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
;; -*- mode: lisp -*-
;; vim: set ft=lisp :
;;
;; krino rules for one directory. The syntax is explained in
;; docs/sexp-primer.md; every form is described in krino.conf(5).

(path "@PATH@")

;; Settings for this directory; each overrides the defaults in krino.conf.
;; Remove the ";; " to use one.
;; (recursive no)          ; yes: also sort files in subdirectories
;; (max-depth 3)           ; with recursive: how deep to go
;; (case ignore)           ; ignore | strict
;; (fold yes)              ; yes: "spolka" matches "spółka"
;; (min-age 2m)            ; skip files modified in the last 2 minutes
;; (max-read 50M)          ; no content extraction above this size
;; (on-conflict suffix)    ; suffix | skip | overwrite

;; Files and directories to leave alone, in .gitignore syntax.
(ignore "*.part" "*.crdownload" "*.aria2" ".*")

;; Rules run top to bottom. Every rule that matches a file adds its actions
;; to that file; (stop) ends the search for it. Some examples:

;; (rule "invoices"
;;   (when (type pdf)
;;         (content "invoice" "faktura"))
;;   (move "Invoices/{mtime:%Y}")
;;   (stop))

;; (rule "images"
;;   (when (type image))
;;   (move "Images"))

;; (rule "old-packages"
;;   (when (type package) (age > 30d))
;;   (delete))