You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello!
I ran into a bit of a struggle trying to get glob patterns to work with the glob/iglob setting in the config, on Windows. At first, I tried using iglob = '!C:\Users\limet\AppData' and was surprised that it didn't seem to work for me.
After playing around with the format, I ended up with iglob = '!C:/Users/limet/AppData', which seemed to work fine.
According to @aawsome, iglob = '!C:\\Users\\limet\\AppData' and iglob = "!C:\\\\Users\\\\limet\\\\AppData" should work as well.
I think these settings don't have a documented example value in the config README.md, so just adding those would probably help some folks.
Thanks for your efforts!
The text was updated successfully, but these errors were encountered:
simonsan
added
O-windows
Operating system: Windows
A-core
Area: Generally related to `rustic_core`
A-config
Area: Related to the config file functionality and format
and removed
S-triage
Status: Waiting for a maintainer to triage this issue/PR
labels
Sep 18, 2024
Hello!
I ran into a bit of a struggle trying to get glob patterns to work with the
glob
/iglob
setting in the config, on Windows. At first, I tried usingiglob = '!C:\Users\limet\AppData'
and was surprised that it didn't seem to work for me.After playing around with the format, I ended up with
iglob = '!C:/Users/limet/AppData'
, which seemed to work fine.According to @aawsome,
iglob = '!C:\\Users\\limet\\AppData'
andiglob = "!C:\\\\Users\\\\limet\\\\AppData"
should work as well.I think these settings don't have a documented example value in the config README.md, so just adding those would probably help some folks.
Thanks for your efforts!
The text was updated successfully, but these errors were encountered: