Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Confusing glob format in config on Windows #1234

Open
Limeth opened this issue Sep 9, 2024 · 0 comments
Open

Confusing glob format in config on Windows #1234

Limeth opened this issue Sep 9, 2024 · 0 comments
Labels
A-config Area: Related to the config file functionality and format A-core Area: Generally related to `rustic_core` O-windows Operating system: Windows

Comments

@Limeth
Copy link

Limeth commented Sep 9, 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 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!

@github-actions github-actions bot added the S-triage Status: Waiting for a maintainer to triage this issue/PR label Sep 9, 2024
@simonsan 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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-config Area: Related to the config file functionality and format A-core Area: Generally related to `rustic_core` O-windows Operating system: Windows
Projects
None yet
Development

No branches or pull requests

2 participants