;; -*- mode: lisp -*- ;; vim: set ft=lisp : ;; ;; krino rules for one directory. 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). (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))