I’ve read this : Issue with file/folder ignore rules - #5 by maclm
I try to ignore every folders named “.cache” but i don’t understand how the ignore policy work. Here are the policies of my repo :
"files": {
"ignore": [
"**/.cache",
"**/.cache/",
"**/.cache/*",
"**/.cache/**",
"*/.cache",
"*/.cache/",
"*/.cache/*",
"*/.cache/**",
".cache",
".cache/",
".cache/*",
".cache/**",
"**/cache",
"**/cache/",
"**/cache/*",
"**/cache/**",
"*/cache",
"*/cache/",
"*/cache/*",
"*/cache/**",
"cache",
"cache/",
"cache/*",
"cache/**"
],
"ignoreDotFiles": [
"**/.cache",
"**/.cache/",
"**/.cache/*",
"**/.cache/**",
"*/.cache",
"*/.cache/",
"*/.cache/*",
"*/.cache/**",
".cache",
".cache/",
".cache/*",
".cache/**",
"**/cache",
"**/cache/",
"**/cache/*",
"**/cache/**",
"*/cache",
"*/cache/",
"*/cache/*",
"*/cache/**",
"cache",
"cache/",
"cache/*",
"cache/**"
]
},
But when I run kopia snapshot estimate
I still see that my “.cache” folder are backuped :
$ kopia snapshot estimate /home/me/
Analyzing ....
Analyzing .cache...
Analyzing .cache/pip...
Analyzing .cache/pip/http...
Analyzing .cache/pip/http/0...
[...]
Snapshots excludes no files.
Snapshots excludes no directories.
How to ignore a folder by its name ?