;; -*- mode: lisp -*- ;; vim: set ft=lisp : ;; ;; krino's main configuration. The syntax is explained in sexp-primer.md, ;; installed as share/doc/krino/sexp-primer.md under the install prefix, ;; which is ~/.local by default; every form is described in krino.conf(5). ;; The directories to sort, in this order. Each NAME has its rules in ;; dirs/NAME.conf. Add one with: krino new NAME PATH (include) ;; Where the log goes. Remove the ";; " to change it. ;; (log "~/.local/state/krino/krino.log") ;; Defaults for every directory; a directory's own file can override them. ;; (defaults ;; (case ignore) ; ignore | strict ;; (fold yes) ; yes: "spolka" matches "spółka" ;; (recursive no) ;; (min-age 2m) ; skip files modified in the last 2 minutes ;; (max-read 50M) ; no content extraction above this size ;; (max-size 2G) ; skip files larger than this entirely ;; (busy ".part" ".aria2" ".crdownload") ;; (on-conflict suffix)) ; suffix | skip | overwrite ;; Files no rule in any directory may touch. The conditions in one form ;; must all hold; a file matching any form is set aside. Some examples: ;; (exclude (type iso)) ; by type or extension ;; (exclude (name "^keep-")) ; by name, a regex ;; (exclude (type pdf) (content "confidential")) ; by content