diff --git a/backup/resticprofile/profiles.yaml b/backup/resticprofile/profiles.yaml index f9e69a3..14e7091 100644 --- a/backup/resticprofile/profiles.yaml +++ b/backup/resticprofile/profiles.yaml @@ -46,8 +46,10 @@ profiles: - "*.pid" - "*.lock" - "*.tmp" + - "*-cache" - .cache - cache + - logs - tmp # Build artifacts - __pycache__ diff --git a/sync/rsync/exclude.txt b/sync/rsync/exclude.txt index b85f1cb..6f40731 100644 --- a/sync/rsync/exclude.txt +++ b/sync/rsync/exclude.txt @@ -6,6 +6,7 @@ *.tmp __pycache__/** cache/** +*-cache/** .cache/** .git/** tmp/** diff --git a/unison/common.prf b/unison/common.prf index 0db7049..9415193 100644 --- a/unison/common.prf +++ b/unison/common.prf @@ -15,7 +15,7 @@ perms = 0 ignore = Name __pycache__ ignore = Name *.{bak,DS_Store,git,pid,pyc,lock} -ignore = Name {,*.}{cache,tmp} +ignore = Name {,*.,*-}{cache,tmp} ignore = Name MediaCover ignore = BelowPath altmount/{.nzbs,metadata}