diff options
| author | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-11 14:47:10 +0200 |
|---|---|---|
| committer | Lukasz Kasprzak <lukas@labunix.xyz> | 2026-09-11 15:01:57 +0200 |
| commit | 42b02c47be9b285099203e44a2570636d4ca6f03 (patch) | |
| tree | 82bcb9e19bd886f36e1ca7b2d94a204c988f1fd1 /internal/config/skel/template.conf | |
| download | krino-42b02c47be9b285099203e44a2570636d4ca6f03.tar.gz krino-42b02c47be9b285099203e44a2570636d4ca6f03.zip | |
krino: foundation — sexp reader, config language, init/new/check
Diffstat (limited to 'internal/config/skel/template.conf')
| -rw-r--r-- | internal/config/skel/template.conf | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/internal/config/skel/template.conf b/internal/config/skel/template.conf new file mode 100644 index 0000000..867b681 --- /dev/null +++ b/internal/config/skel/template.conf @@ -0,0 +1,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)) |
