diff options
Diffstat (limited to 'internal/config/skel')
| -rw-r--r-- | internal/config/skel/krino.conf | 7 | ||||
| -rw-r--r-- | internal/config/skel/template.conf | 6 |
2 files changed, 13 insertions, 0 deletions
diff --git a/internal/config/skel/krino.conf b/internal/config/skel/krino.conf index dbd883b..7008dbc 100644 --- a/internal/config/skel/krino.conf +++ b/internal/config/skel/krino.conf @@ -19,5 +19,12 @@ ;; (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 diff --git a/internal/config/skel/template.conf b/internal/config/skel/template.conf index c3af09d..d366716 100644 --- a/internal/config/skel/template.conf +++ b/internal/config/skel/template.conf @@ -15,10 +15,16 @@ ;; (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 +;; (max-size 2G) ; skip files larger than this entirely ;; (on-conflict suffix) ; suffix | skip | overwrite ;; Files and directories to leave alone, in .gitignore syntax. (ignore "*.part" "*.crdownload" "*.aria2" ".*") +;; Files no rule here may touch, tested before any rule. The conditions in +;; one form must all hold; a file matching any form is set aside. +;; (exclude (type iso img)) ; by extension +;; (exclude (name "^keep-")) ; by name, a regex +;; (exclude (type pdf) (content "confidential")) ; by content ;; 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: |
